Class Exceptions.InflightLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.grpc.StatusRuntimeException
com.google.cloud.bigquery.storage.v1.Exceptions.InflightLimitExceededException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Exceptions.InflightBytesLimitExceededException, Exceptions.InflightRequestsLimitExceededException
Enclosing class:
Exceptions

public static class Exceptions.InflightLimitExceededException extends io.grpc.StatusRuntimeException
If FlowController.LimitExceededBehavior is set to Block and inflight limit is exceeded, this exception will be thrown. If it is just a spike, you may retry the request. Otherwise, you can increase the inflight limit or create more StreamWriter to handle your traffic.
See Also:
  • Constructor Details

    • InflightLimitExceededException

      protected InflightLimitExceededException(io.grpc.Status grpcStatus, String writerId, long currentLimit)
  • Method Details

    • getWriterId

      public String getWriterId()
    • getCurrentLimit

      public long getCurrentLimit()