WatchdogInterceptor (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.grpc.io

Class 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 Detail

      • WatchdogInterceptor

        public WatchdogInterceptor(Set<io.grpc.MethodDescriptor<?,?>> watchedMethods,
                                   Watchdog watchdog)
    • Method Detail

      • interceptCall

        public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor,
                                                                         io.grpc.CallOptions callOptions,
                                                                         io.grpc.Channel channel)
        Specified by:
        interceptCall in interface io.grpc.ClientInterceptor