Class SetBatchCollector<E>
java.lang.Object
uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector<C>
uk.ac.ebi.utils.threading.batchproc.collectors.CollectionBatchCollector<Set<E>,E>
uk.ac.ebi.utils.threading.batchproc.collectors.SetBatchCollector<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
BatchCollector<Set<E>>
,ItemizedBatchCollector<Set<E>,
,E> ItemizedSizedBatchCollector<Set<E>,
,E> SizedBatchCollector<Set<E>>
Deprecated.
the functionality available in this package is provided by project
Reactor and we recommend to switch to that. @see ReactorUtils
Uses
HashSet
as default and the default max size provided by AbstractSizedBatchCollector
.- Author:
- brandizi
- Date:
- 25 Nov 2019
-
Constructor Summary
ConstructorDescriptionDeprecated.SetBatchCollector
(int maxBatchSize) Deprecated.SetBatchCollector
(Supplier<Set<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
-
Constructor Details
-
SetBatchCollector
Deprecated. -
SetBatchCollector
public SetBatchCollector(int maxBatchSize) Deprecated. -
SetBatchCollector
public SetBatchCollector()Deprecated.
-