Class DynamicFlowControlSettings (2.83.0)

public abstract class DynamicFlowControlSettings

Settings for dynamic flow control

Inheritance

java.lang.Object > DynamicFlowControlSettings

Static Methods

newBuilder()

public static DynamicFlowControlSettings.Builder newBuilder()
Returns
Type Description
DynamicFlowControlSettings.Builder

Constructors

DynamicFlowControlSettings()

public DynamicFlowControlSettings()

Methods

getInitialOutstandingElementCount()

public abstract @Nullable Long getInitialOutstandingElementCount()

Number of outstanding elements that FlowController allows when it's initiated.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

getInitialOutstandingRequestBytes()

public abstract @Nullable Long getInitialOutstandingRequestBytes()

Number of outstanding bytes that FlowController allows when it's initiated.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

getLimitExceededBehavior()

public abstract FlowController.LimitExceededBehavior getLimitExceededBehavior()
Returns
Type Description
FlowController.LimitExceededBehavior

getMaxOutstandingElementCount()

public abstract @Nullable Long getMaxOutstandingElementCount()

Maximum number of outstanding elements FlowController allows before enforcing flow control.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

getMaxOutstandingRequestBytes()

public abstract @Nullable Long getMaxOutstandingRequestBytes()

Maximum number of outstanding bytes FlowController allows before enforcing flow control.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

getMinOutstandingElementCount()

public abstract @Nullable Long getMinOutstandingElementCount()

Minimum number of outstanding elements FlowController allows before enforcing flow control.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

getMinOutstandingRequestBytes()

public abstract @Nullable Long getMinOutstandingRequestBytes()

Minimum number of outstanding bytes FlowController allows before enforcing flow control.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.Long

toBuilder()

public abstract DynamicFlowControlSettings.Builder toBuilder()
Returns
Type Description
DynamicFlowControlSettings.Builder