public static class Exceptions.InflightLimitExceededException extends 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.
Inherited Members
io.grpc.StatusRuntimeException.getStatus()
io.grpc.StatusRuntimeException.getTrailers()
Constructors
InflightLimitExceededException(Status grpcStatus, String writerId, long currentLimit)
protected InflightLimitExceededException(Status grpcStatus, String writerId, long currentLimit)
Methods
getCurrentLimit()
public long getCurrentLimit()
Returns | |
---|---|
Type | Description |
long |
getWriterId()
public String getWriterId()
Returns | |
---|---|
Type | Description |
String |