Class IOThreadClientInterceptor

  • All Implemented Interfaces:
    io.grpc.ClientInterceptor, javax.enterprise.inject.spi.Prioritized

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

      • IOThreadClientInterceptor

        public IOThreadClientInterceptor()
    • Method Detail

      • 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 javax.enterprise.inject.spi.Prioritized