Class ServerBackpressureThresholdInterceptor

java.lang.Object
org.apache.arrow.flight.grpc.ServerBackpressureThresholdInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

public class ServerBackpressureThresholdInterceptor extends Object implements io.grpc.ServerInterceptor
An interceptor for specifying the number of bytes that can be queued before a call with an output stream gets blocked by backpressure.
  • Constructor Details

    • ServerBackpressureThresholdInterceptor

      public ServerBackpressureThresholdInterceptor(int numBytes)
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
      Specified by:
      interceptCall in interface io.grpc.ServerInterceptor