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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InflightLimitExceededException(io.grpc.Status grpcStatus, String writerId, long currentLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCurrentLimit()
String
getWriterId()
-
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
-
-