public interface BatchSizeController extends DocumentWorkerObject
BulkDocumentWorker interface.| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumBatchSize()
Gets the maximum number of documents that should be included in a batch before it is automatically closed.
|
long |
getMaximumBatchTime()
Gets the maximum length of time (in milliseconds) that a batch should be allowed to build up before it is automatically closed.
|
void |
setMaximumBatchSize(int maxBatchSize)
Sets the maximum number of documents that should be included in a batch before it is automatically closed.
|
void |
setMaximumBatchTime(long maxBatchTime)
Sets the maximum length of time (in milliseconds) that a batch should be allowed to build up before it is automatically closed.
|
getApplicationint getMaximumBatchSize()
long getMaximumBatchTime()
void setMaximumBatchSize(int maxBatchSize)
maxBatchSize - the maximum number of documents to include in a batchvoid setMaximumBatchTime(long maxBatchTime)
maxBatchTime - the maximum number of milliseconds to allow a batch to build upCopyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.