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 Summary
ModifierConstructorDescriptionprotected
InflightLimitExceededException
(io.grpc.Status grpcStatus, String writerId, long currentLimit) -
Method Summary
Methods inherited from class io.grpc.StatusRuntimeException
fillInStackTrace, getStatus, getTrailers
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InflightLimitExceededException
protected InflightLimitExceededException(io.grpc.Status grpcStatus, String writerId, long currentLimit)
-
-
Method Details
-
getWriterId
-
getCurrentLimit
public long getCurrentLimit()
-