Package com.google.api.gax.batching
Class DynamicFlowControlSettings
java.lang.Object
com.google.api.gax.batching.DynamicFlowControlSettings
@NullMarked
@InternalApi("For google-cloud-java client use only")
public abstract class DynamicFlowControlSettings
extends Object
Settings for dynamic flow control
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable LongNumber of outstanding elements thatFlowControllerallows when it's initiated.abstract @Nullable LongNumber of outstanding bytes thatFlowControllerallows when it's initiated.abstract FlowController.LimitExceededBehaviorabstract @Nullable LongMaximum number of outstanding elementsFlowControllerallows before enforcing flow control.abstract @Nullable LongMaximum number of outstanding bytesFlowControllerallows before enforcing flow control.abstract @Nullable LongMinimum number of outstanding elementsFlowControllerallows before enforcing flow control.abstract @Nullable LongMinimum number of outstanding bytesFlowControllerallows before enforcing flow control.abstract DynamicFlowControlSettings.Builder
-
Constructor Details
-
DynamicFlowControlSettings
public DynamicFlowControlSettings()
-
-
Method Details
-
getInitialOutstandingElementCount
Number of outstanding elements thatFlowControllerallows when it's initiated. -
getInitialOutstandingRequestBytes
Number of outstanding bytes thatFlowControllerallows when it's initiated. -
getMaxOutstandingElementCount
Maximum number of outstanding elementsFlowControllerallows before enforcing flow control. -
getMaxOutstandingRequestBytes
Maximum number of outstanding bytesFlowControllerallows before enforcing flow control. -
getMinOutstandingElementCount
Minimum number of outstanding elementsFlowControllerallows before enforcing flow control. -
getMinOutstandingRequestBytes
Minimum number of outstanding bytesFlowControllerallows before enforcing flow control. -
getLimitExceededBehavior
-
toBuilder
-
newBuilder
-