Class AbstractSizedBatchCollector<B>
java.lang.Object
uk.ac.ebi.utils.threading.batchproc.AbstractSizedBatchCollector<B>
- Type Parameters:
B-
- All Implemented Interfaces:
BatchCollector<B>,SizedBatchCollector<B>
- Direct Known Subclasses:
CollectionBatchCollector
@Deprecated
public abstract class AbstractSizedBatchCollector<B>
extends Object
implements SizedBatchCollector<B>
Deprecated.
the functionality available in this package is provided by project
Reactor and we recommend to switch to that. TODO: helpers and examples about batching via Reactor.
A default scaffolding
SizedBatchCollector, which has a getter for maxBatchSize()
and a default value for it.- Author:
- brandizi
- Date:
- 25 Nov 2019
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.Takes the default value of 1000.protectedAbstractSizedBatchCollector(long maxBatchSize) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.voidsetMaxBatchSize(long maxBatchSize) Deprecated.Methods 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.BatchCollector
batchFactoryMethods inherited from interface uk.ac.ebi.utils.threading.batchproc.SizedBatchCollector
batchReadyFlag, batchSizer
-
Constructor Details
-
AbstractSizedBatchCollector
protected AbstractSizedBatchCollector()Deprecated.Takes the default value of 1000. -
AbstractSizedBatchCollector
protected AbstractSizedBatchCollector(long maxBatchSize) Deprecated.
-
-
Method Details
-
maxBatchSize
public long maxBatchSize()Deprecated.- Specified by:
maxBatchSizein interfaceSizedBatchCollector<B>
-
setMaxBatchSize
public void setMaxBatchSize(long maxBatchSize) Deprecated.
-