Class BatchState
java.lang.Object
org.nuxeo.lib.stream.pattern.consumer.internals.BatchState
Keep state of a batch according to a batch policy.
- Since:
- 9.1
-
Field Details
-
policy
-
counter
protected int counter -
endMs
protected long endMs
-
-
Constructor Details
-
BatchState
-
-
Method Details
-
start
public void start() -
inc
-
force
public void force() -
last
public void last() -
getState
-
getSize
public int getSize()
-