public class BatchState extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchState.State |
Modifier and Type | Field and Description |
---|---|
protected int |
counter |
protected long |
endMs |
protected BatchPolicy |
policy |
Constructor and Description |
---|
BatchState(BatchPolicy policy) |
Modifier and Type | Method and Description |
---|---|
void |
force() |
int |
getSize() |
BatchState.State |
getState() |
BatchState.State |
inc() |
void |
last() |
void |
start() |
protected final BatchPolicy policy
protected int counter
protected long endMs
public BatchState(BatchPolicy policy)
public void start()
public BatchState.State inc()
public void force()
public void last()
public BatchState.State getState()
public int getSize()
Copyright © 2018 Nuxeo. All rights reserved.