Uses of Class
org.nuxeo.lib.stream.pattern.consumer.BatchPolicy.Builder
-
Uses of BatchPolicy.Builder in org.nuxeo.lib.stream.pattern.consumer
Modifier and TypeMethodDescriptionstatic BatchPolicy.Builder
BatchPolicy.builder()
BatchPolicy.Builder.capacity
(int capacity) Set the capacity of the batch.BatchPolicy.Builder.timeThreshold
(Duration threshold) Set the time threshold to fill a batch.