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
  • Constructor Details

    • DynamicFlowControlSettings

      public DynamicFlowControlSettings()
  • Method Details

    • getInitialOutstandingElementCount

      public abstract @Nullable Long getInitialOutstandingElementCount()
      Number of outstanding elements that FlowController allows when it's initiated.
    • getInitialOutstandingRequestBytes

      public abstract @Nullable Long getInitialOutstandingRequestBytes()
      Number of outstanding bytes that FlowController allows when it's initiated.
    • getMaxOutstandingElementCount

      public abstract @Nullable Long getMaxOutstandingElementCount()
      Maximum number of outstanding elements FlowController allows before enforcing flow control.
    • getMaxOutstandingRequestBytes

      public abstract @Nullable Long getMaxOutstandingRequestBytes()
      Maximum number of outstanding bytes FlowController allows before enforcing flow control.
    • getMinOutstandingElementCount

      public abstract @Nullable Long getMinOutstandingElementCount()
      Minimum number of outstanding elements FlowController allows before enforcing flow control.
    • getMinOutstandingRequestBytes

      public abstract @Nullable Long getMinOutstandingRequestBytes()
      Minimum number of outstanding bytes FlowController allows before enforcing flow control.
    • getLimitExceededBehavior

      public abstract FlowController.LimitExceededBehavior getLimitExceededBehavior()
      See Also:
    • toBuilder

      public abstract DynamicFlowControlSettings.Builder toBuilder()
    • newBuilder

      public static DynamicFlowControlSettings.Builder newBuilder()