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 java.lang.ObjectSettings 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 java.lang.LonggetInitialOutstandingElementCount()Number of outstanding elements thatFlowControllerallows when it's initiated.abstract java.lang.LonggetInitialOutstandingRequestBytes()Number of outstanding bytes thatFlowControllerallows when it's initiated.abstract FlowController.LimitExceededBehaviorgetLimitExceededBehavior()abstract java.lang.LonggetMaxOutstandingElementCount()Maximum number of outstanding elementsFlowControllerallows before enforcing flow control.abstract java.lang.LonggetMaxOutstandingRequestBytes()Maximum number of outstanding bytesFlowControllerallows before enforcing flow control.abstract java.lang.LonggetMinOutstandingElementCount()Minimum number of outstanding elementsFlowControllerallows before enforcing flow control.abstract java.lang.LonggetMinOutstandingRequestBytes()Minimum number of outstanding bytesFlowControllerallows before enforcing flow control.static DynamicFlowControlSettings.BuildernewBuilder()abstract DynamicFlowControlSettings.BuildertoBuilder()
-
-
-
Method Detail
-
getInitialOutstandingElementCount
@Nullable public abstract java.lang.Long getInitialOutstandingElementCount()
Number of outstanding elements thatFlowControllerallows when it's initiated.
-
getInitialOutstandingRequestBytes
@Nullable public abstract java.lang.Long getInitialOutstandingRequestBytes()
Number of outstanding bytes thatFlowControllerallows when it's initiated.
-
getMaxOutstandingElementCount
@Nullable public abstract java.lang.Long getMaxOutstandingElementCount()
Maximum number of outstanding elementsFlowControllerallows before enforcing flow control.
-
getMaxOutstandingRequestBytes
@Nullable public abstract java.lang.Long getMaxOutstandingRequestBytes()
Maximum number of outstanding bytesFlowControllerallows before enforcing flow control.
-
getMinOutstandingElementCount
@Nullable public abstract java.lang.Long getMinOutstandingElementCount()
Minimum number of outstanding elementsFlowControllerallows before enforcing flow control.
-
getMinOutstandingRequestBytes
@Nullable public abstract java.lang.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()
-
-