Class GoogleCloudStorageClientGrpcStatisticsInterceptor

  • All Implemented Interfaces:
    io.grpc.ClientInterceptor

    public class GoogleCloudStorageClientGrpcStatisticsInterceptor
    extends Object
    implements io.grpc.ClientInterceptor
    This is a gRPC interceptor to capture the statistics related to calls made to gcs backend.
    • Constructor Detail

      • GoogleCloudStorageClientGrpcStatisticsInterceptor

        public GoogleCloudStorageClientGrpcStatisticsInterceptor()
    • Method Detail

      • 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:
        interceptCall in interface io.grpc.ClientInterceptor