Package io.quarkus.grpc.runtime.stork
Class VertxStorkMeasuringGrpcInterceptor
java.lang.Object
io.quarkus.grpc.runtime.stork.VertxStorkMeasuringGrpcInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor,jakarta.enterprise.inject.spi.Prioritized
@ApplicationScoped
public class VertxStorkMeasuringGrpcInterceptor
extends Object
implements io.grpc.ClientInterceptor, jakarta.enterprise.inject.spi.Prioritized
Similar to
StorkMeasuringGrpcInterceptor, but with different entry points,
since we use delayed StorkGrpcChannel.-
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
-
VertxStorkMeasuringGrpcInterceptor
public VertxStorkMeasuringGrpcInterceptor()
-
-
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
-