| Package | Description |
|---|---|
| org.nuxeo.lib.stream.pattern.consumer |
| Modifier and Type | Method and Description |
|---|---|
static BatchPolicy.Builder |
BatchPolicy.builder() |
BatchPolicy.Builder |
BatchPolicy.Builder.capacity(int capacity)
Set the capacity of the batch.
|
BatchPolicy.Builder |
BatchPolicy.Builder.timeThreshold(Duration threshold)
Set the time threshold to fill a batch.
|
| Constructor and Description |
|---|
BatchPolicy(BatchPolicy.Builder builder) |
Copyright © 2019 Nuxeo. All rights reserved.