类 DeadlineInterceptor
java.lang.Object
cn.iosd.starter.grpc.client.interceptor.DeadlineInterceptor
- 所有已实现的接口:
io.grpc.ClientInterceptor
拦截:设置Grpc调用超时时间
- 作者:
- ok1996
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel)
-
构造器详细资料
-
DeadlineInterceptor
-
-
方法详细资料
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel) - 指定者:
interceptCall在接口中io.grpc.ClientInterceptor
-