Class BulkScrollerComputation.Builder
java.lang.Object
org.nuxeo.ecm.core.bulk.computation.BulkScrollerComputation.Builder
- Enclosing class:
- BulkScrollerComputation
- Since:
- 11.4
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setProduceImmediate
(boolean produceImmediate) setProduceImmediateThreshold
(int produceImmediateThreshold) setScrollBatchSize
(int scrollBatchSize) setScrollKeepAliveSeconds
(int scrollKeepAliveSeconds) setTransactionTimeout
(Duration transactionTimeout)
-
Field Details
-
name
-
nbOutputStreams
protected int nbOutputStreams -
scrollBatchSize
protected int scrollBatchSize -
scrollKeepAliveSeconds
protected int scrollKeepAliveSeconds -
produceImmediate
protected boolean produceImmediate -
produceImmediateThreshold
protected int produceImmediateThreshold -
transactionTimeout
-
queryLimit
protected long queryLimit
-
-
Constructor Details
-
Builder
- Parameters:
name
- the computation namenbOutputStream
- the number of registered bulk action streams
-
-
Method Details
-
setScrollBatchSize
- Parameters:
scrollBatchSize
- the batch size to scroll
-
setScrollKeepAliveSeconds
- Parameters:
scrollKeepAliveSeconds
- the scroll lifetime between fetch
-
setProduceImmediate
- Parameters:
produceImmediate
- whether or not the record should be produced immediately while scrolling
-
setProduceImmediateThreshold
- Parameters:
produceImmediateThreshold
- produce record immediately after the threshold to prevent OOM
-
setTransactionTimeout
- Parameters:
transactionTimeout
- set an explicit transaction timeout for the scroll
-
build
-