Class CollectionBatchCollector<C extends Collection<E>,E>
java.lang.Object
uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector<C>
uk.ac.ebi.utils.threading.batchproc.collectors.CollectionBatchCollector<C,E>
- Type Parameters:
C-E-
- All Implemented Interfaces:
BatchCollector<C>,ItemizedBatchCollector<C,,E> ItemizedSizedBatchCollector<C,,E> SizedBatchCollector<C>
- Direct Known Subclasses:
ListBatchCollector,SetBatchCollector
@Deprecated
public abstract class CollectionBatchCollector<C extends Collection<E>,E>
extends AbstractSizedBatchCollector<C>
implements ItemizedSizedBatchCollector<C,E>
Deprecated.
the functionality available in this package is provided by project
Reactor and we recommend to switch to that. @see ReactorUtils
Collectors of this type are dedicated to
Java collections.- Author:
- brandizi
- Date:
- 25 Nov 2019
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionBatchCollector(Supplier<C> batchFactory) Deprecated.Default size is inherited byAbstractSizedBatchCollector.CollectionBatchCollector(Supplier<C> batchFactory, int maxBatchSize) Deprecated. -
Method Summary
Methods inherited from class uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector
maxBatchSize, setMaxBatchSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.ebi.utils.threading.batchproc.SizedBatchCollector
batchReadyFlag, maxBatchSize
-
Constructor Details
-
CollectionBatchCollector
Deprecated.Default size is inherited byAbstractSizedBatchCollector. -
CollectionBatchCollector
Deprecated.
-
-
Method Details
-
batchFactory
Deprecated.- Specified by:
batchFactoryin interfaceBatchCollector<C extends Collection<E>>
-
accumulator
Deprecated.- Specified by:
accumulatorin interfaceItemizedBatchCollector<C extends Collection<E>,E>
-
batchSizer
Deprecated.- Specified by:
batchSizerin interfaceSizedBatchCollector<C extends Collection<E>>
-