Package com.google.api.gax.batching
Class DynamicFlowControlSettings
- java.lang.Object
-
- com.google.api.gax.batching.DynamicFlowControlSettings
-
@InternalApi("For google-cloud-java client use only") public abstract class DynamicFlowControlSettings extends Object
Settings for dynamic flow control
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDynamicFlowControlSettings.Builder
-
Constructor Summary
Constructors Constructor Description DynamicFlowControlSettings()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract LonggetInitialOutstandingElementCount()Number of outstanding elements thatFlowControllerallows when it's initiated.abstract LonggetInitialOutstandingRequestBytes()Number of outstanding bytes thatFlowControllerallows when it's initiated.abstract FlowController.LimitExceededBehaviorgetLimitExceededBehavior()abstract LonggetMaxOutstandingElementCount()Maximum number of outstanding elementsFlowControllerallows before enforcing flow control.abstract LonggetMaxOutstandingRequestBytes()Maximum number of outstanding bytesFlowControllerallows before enforcing flow control.abstract LonggetMinOutstandingElementCount()Minimum number of outstanding elementsFlowControllerallows before enforcing flow control.abstract LonggetMinOutstandingRequestBytes()Minimum number of outstanding bytesFlowControllerallows before enforcing flow control.static DynamicFlowControlSettings.BuildernewBuilder()abstract DynamicFlowControlSettings.BuildertoBuilder()
-
-
-
Method Detail
-
getInitialOutstandingElementCount
@Nullable public abstract Long getInitialOutstandingElementCount()
Number of outstanding elements thatFlowControllerallows when it's initiated.
-
getInitialOutstandingRequestBytes
@Nullable public abstract Long getInitialOutstandingRequestBytes()
Number of outstanding bytes thatFlowControllerallows when it's initiated.
-
getMaxOutstandingElementCount
@Nullable public abstract Long getMaxOutstandingElementCount()
Maximum number of outstanding elementsFlowControllerallows before enforcing flow control.
-
getMaxOutstandingRequestBytes
@Nullable public abstract Long getMaxOutstandingRequestBytes()
Maximum number of outstanding bytesFlowControllerallows before enforcing flow control.
-
getMinOutstandingElementCount
@Nullable public abstract Long getMinOutstandingElementCount()
Minimum number of outstanding elementsFlowControllerallows before enforcing flow control.
-
getMinOutstandingRequestBytes
@Nullable public abstract Long getMinOutstandingRequestBytes()
Minimum number of outstanding bytesFlowControllerallows before enforcing flow control.
-
getLimitExceededBehavior
public abstract FlowController.LimitExceededBehavior getLimitExceededBehavior()
-
toBuilder
public abstract DynamicFlowControlSettings.Builder toBuilder()
-
newBuilder
public static DynamicFlowControlSettings.Builder newBuilder()
-
-