Class DaprTimeoutInterceptor
java.lang.Object
io.dapr.internal.grpc.interceptors.DaprTimeoutInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
Class to be used as part of your service's client stub interceptor to include timeout.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.ClientCall<ReqT,RespT> interceptCall
(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions options, io.grpc.Channel channel)
-
Constructor Details
-
DaprTimeoutInterceptor
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions options, io.grpc.Channel channel) - Specified by:
interceptCall
in interfaceio.grpc.ClientInterceptor
-