public static class BatchPolicy.Builder extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
capacity  | 
protected Duration | 
threshold  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
BatchPolicy | 
build()  | 
BatchPolicy.Builder | 
capacity(int capacity)
Set the capacity of the batch. 
 | 
BatchPolicy.Builder | 
timeThreshold(Duration threshold)
Set the time threshold to fill a batch. 
 | 
protected Builder()
public BatchPolicy.Builder capacity(int capacity)
public BatchPolicy.Builder timeThreshold(Duration threshold)
public BatchPolicy build()
Copyright © 2019 Nuxeo. All rights reserved.