Package io.quarkus.grpc.runtime.supports
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint<ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
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:
interceptCallin interfaceio.grpc.ClientInterceptor
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacejakarta.enterprise.inject.spi.Prioritized
-