Package com.google.api.gax.batching
Class BatchingFlowController<T>
- java.lang.Object
-
- com.google.api.gax.batching.BatchingFlowController<T>
-
public class BatchingFlowController<T> extends java.lang.ObjectWraps aFlowControllerfor use by batching.
-
-
Constructor Summary
Constructors Constructor Description BatchingFlowController(FlowController flowController, ElementCounter<T> elementCounter, ElementCounter<T> byteCounter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrelease(T batch)voidreserve(T batch)
-
-
-
Constructor Detail
-
BatchingFlowController
public BatchingFlowController(FlowController flowController, ElementCounter<T> elementCounter, ElementCounter<T> byteCounter)
-
-
Method Detail
-
reserve
public void reserve(T batch) throws FlowController.FlowControlException
-
release
public void release(T batch)
-
-