com.google.cloud.bigtable.grpc.io
Class WatchdogInterceptor
- java.lang.Object
-
- com.google.cloud.bigtable.grpc.io.WatchdogInterceptor
-
- All Implemented Interfaces:
- io.grpc.ClientInterceptor
@InternalApi public class WatchdogInterceptor extends Object implements io.grpc.ClientInterceptor
Internal implementation detail to prevent RPC from hanging.
-
-
Constructor Summary
Constructors Constructor and Description WatchdogInterceptor(Set<io.grpc.MethodDescriptor<?,?>> watchedMethods, Watchdog watchdog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description <ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT>interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel)
-