public class BatchPolicy extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchPolicy.Builder |
Modifier and Type | Field and Description |
---|---|
static BatchPolicy |
DEFAULT |
static BatchPolicy |
NO_BATCH |
Constructor and Description |
---|
BatchPolicy(BatchPolicy.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static BatchPolicy.Builder |
builder() |
int |
getCapacity() |
Duration |
getTimeThreshold() |
String |
toString() |
public static final BatchPolicy NO_BATCH
public static final BatchPolicy DEFAULT
public BatchPolicy(BatchPolicy.Builder builder)
public int getCapacity()
public Duration getTimeThreshold()
public static BatchPolicy.Builder builder()
Copyright © 2017 Nuxeo. All rights reserved.