Class IOThreadClientInterceptor

java.lang.Object
io.quarkus.grpc.runtime.supports.IOThreadClientInterceptor
All Implemented Interfaces:
io.grpc.ClientInterceptor, jakarta.enterprise.inject.spi.Prioritized

@ApplicationScoped public class IOThreadClientInterceptor extends Object implements io.grpc.ClientInterceptor, jakarta.enterprise.inject.spi.Prioritized
gRPC Client emissions should be on the event loop if the subscription is executed on the event loop
  • Constructor Details

    • IOThreadClientInterceptor

      public IOThreadClientInterceptor()
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
      Specified by:
      interceptCall in interface io.grpc.ClientInterceptor
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface jakarta.enterprise.inject.spi.Prioritized