Class ListBatchCollector<E>
java.lang.Object
uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector<List<E>>
uk.ac.ebi.utils.threading.batchproc.collectors.CollectionBatchCollector<List<E>,E>
uk.ac.ebi.utils.threading.batchproc.collectors.ListBatchCollector<E>
- Type Parameters:
E-
- All Implemented Interfaces:
BatchCollector<List<E>>,ItemizedBatchCollector<List<E>,,E> ItemizedSizedBatchCollector<List<E>,,E> SizedBatchCollector<List<E>>
Deprecated.
the functionality available in this package is provided by project
Reactor and we recommend to switch to that. @see ReactorUtils
Uses
ArrayList as default and the default max size provided by AbstractSizedBatchCollector.- Author:
- brandizi
- Date:
- 25 Nov 2019
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ArrayListas default.ListBatchCollector(int maxBatchSize) Deprecated.ArrayListas default.ListBatchCollector(Supplier<List<E>> batchFactory, int maxBatchSize) Deprecated. -
Method Summary
Methods inherited from class uk.ac.ebi.utils.threading.batchproc.collectors.CollectionBatchCollector
accumulator, batchFactory, batchSizerMethods 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