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 class
DynamicFlowControlSettings.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 Long
getInitialOutstandingElementCount()
Number of outstanding elements thatFlowController
allows when it's initiated.abstract Long
getInitialOutstandingRequestBytes()
Number of outstanding bytes thatFlowController
allows when it's initiated.abstract FlowController.LimitExceededBehavior
getLimitExceededBehavior()
abstract Long
getMaxOutstandingElementCount()
Maximum number of outstanding elementsFlowController
allows before enforcing flow control.abstract Long
getMaxOutstandingRequestBytes()
Maximum number of outstanding bytesFlowController
allows before enforcing flow control.abstract Long
getMinOutstandingElementCount()
Minimum number of outstanding elementsFlowController
allows before enforcing flow control.abstract Long
getMinOutstandingRequestBytes()
Minimum number of outstanding bytesFlowController
allows before enforcing flow control.static DynamicFlowControlSettings.Builder
newBuilder()
abstract DynamicFlowControlSettings.Builder
toBuilder()
-
-
-
Method Detail
-
getInitialOutstandingElementCount
@Nullable public abstract Long getInitialOutstandingElementCount()
Number of outstanding elements thatFlowController
allows when it's initiated.
-
getInitialOutstandingRequestBytes
@Nullable public abstract Long getInitialOutstandingRequestBytes()
Number of outstanding bytes thatFlowController
allows when it's initiated.
-
getMaxOutstandingElementCount
@Nullable public abstract Long getMaxOutstandingElementCount()
Maximum number of outstanding elementsFlowController
allows before enforcing flow control.
-
getMaxOutstandingRequestBytes
@Nullable public abstract Long getMaxOutstandingRequestBytes()
Maximum number of outstanding bytesFlowController
allows before enforcing flow control.
-
getMinOutstandingElementCount
@Nullable public abstract Long getMinOutstandingElementCount()
Minimum number of outstanding elementsFlowController
allows before enforcing flow control.
-
getMinOutstandingRequestBytes
@Nullable public abstract Long getMinOutstandingRequestBytes()
Minimum number of outstanding bytesFlowController
allows before enforcing flow control.
-
getLimitExceededBehavior
public abstract FlowController.LimitExceededBehavior getLimitExceededBehavior()
-
toBuilder
public abstract DynamicFlowControlSettings.Builder toBuilder()
-
newBuilder
public static DynamicFlowControlSettings.Builder newBuilder()
-
-