Class ListBatchCollector<E>
java.lang.Object
uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector<C>
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
ConstructorDescriptionDeprecated.ArrayList
as default.ListBatchCollector
(int maxBatchSize) Deprecated.ArrayList
as 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, batchSizer
Methods inherited from class uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector
maxBatchSize, setMaxBatchSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.ac.ebi.utils.threading.batchproc.SizedBatchCollector
batchReadyFlag, maxBatchSize