@InternalApi(value="For google-cloud-java client use only") public abstract class DynamicFlowControlSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicFlowControlSettings.Builder |
| Constructor and Description |
|---|
DynamicFlowControlSettings() |
| Modifier and Type | Method and Description |
|---|---|
abstract Long |
getInitialOutstandingElementCount()
Number of outstanding elements that
FlowController allows when it's initiated. |
abstract Long |
getInitialOutstandingRequestBytes()
Number of outstanding bytes that
FlowController allows when it's initiated. |
abstract FlowController.LimitExceededBehavior |
getLimitExceededBehavior() |
abstract Long |
getMaxOutstandingElementCount()
Maximum number of outstanding elements
FlowController allows before enforcing flow
control. |
abstract Long |
getMaxOutstandingRequestBytes()
Maximum number of outstanding bytes
FlowController allows before enforcing flow
control. |
abstract Long |
getMinOutstandingElementCount()
Minimum number of outstanding elements
FlowController allows before enforcing flow
control. |
abstract Long |
getMinOutstandingRequestBytes()
Minimum number of outstanding bytes
FlowController allows before enforcing flow
control. |
static DynamicFlowControlSettings.Builder |
newBuilder() |
abstract DynamicFlowControlSettings.Builder |
toBuilder() |
@Nullable public abstract Long getInitialOutstandingElementCount()
FlowController allows when it's initiated.@Nullable public abstract Long getInitialOutstandingRequestBytes()
FlowController allows when it's initiated.@Nullable public abstract Long getMaxOutstandingElementCount()
FlowController allows before enforcing flow
control.@Nullable public abstract Long getMaxOutstandingRequestBytes()
FlowController allows before enforcing flow
control.@Nullable public abstract Long getMinOutstandingElementCount()
FlowController allows before enforcing flow
control.@Nullable public abstract Long getMinOutstandingRequestBytes()
FlowController allows before enforcing flow
control.public abstract FlowController.LimitExceededBehavior getLimitExceededBehavior()
public abstract DynamicFlowControlSettings.Builder toBuilder()
public static DynamicFlowControlSettings.Builder newBuilder()