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
ModifierConstructorDescriptionprotected
Deprecated.Takes the default value of 1000.protected
AbstractSizedBatchCollector
(long maxBatchSize) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlong
Deprecated.void
setMaxBatchSize
(long maxBatchSize) Deprecated.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.BatchCollector
batchFactory
Methods 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:
maxBatchSize
in interfaceSizedBatchCollector<B>
-
setMaxBatchSize
public void setMaxBatchSize(long maxBatchSize) Deprecated.
-