Package com.google.api.gax.batching
Class FlowControlSettings.Builder
- java.lang.Object
-
- com.google.api.gax.batching.FlowControlSettings.Builder
-
- Enclosing class:
- FlowControlSettings
public abstract static class FlowControlSettings.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FlowControlSettings
build()
abstract FlowControlSettings.Builder
setLimitExceededBehavior(FlowController.LimitExceededBehavior value)
abstract FlowControlSettings.Builder
setMaxOutstandingElementCount(java.lang.Long value)
abstract FlowControlSettings.Builder
setMaxOutstandingRequestBytes(java.lang.Long value)
-
-
-
Method Detail
-
setMaxOutstandingElementCount
public abstract FlowControlSettings.Builder setMaxOutstandingElementCount(java.lang.Long value)
-
setMaxOutstandingRequestBytes
public abstract FlowControlSettings.Builder setMaxOutstandingRequestBytes(java.lang.Long value)
-
setLimitExceededBehavior
public abstract FlowControlSettings.Builder setLimitExceededBehavior(FlowController.LimitExceededBehavior value)
-
build
public FlowControlSettings build()
-
-