Class BatchingFlowController (2.49.0)

public class BatchingFlowController

Wraps a FlowController for use by batching.

Inheritance

java.lang.Object > BatchingFlowController

Type Parameter

Name Description
T

Constructors

BatchingFlowController(FlowController flowController, ElementCounter elementCounter, ElementCounter byteCounter)

public BatchingFlowController(FlowController flowController, ElementCounter elementCounter, ElementCounter byteCounter)
Parameters
Name Description
flowController FlowController
elementCounter ElementCounter<T>
byteCounter ElementCounter<T>

Methods

release(T batch)

public void release(T batch)
Parameter
Name Description
batch T

reserve(T batch)

public void reserve(T batch)
Parameter
Name Description
batch T
Exceptions
Type Description
FlowController.FlowControlException