com.google.cloud.bigtable.grpc.async
Class ThrottlingClientInterceptor
- java.lang.Object
-
- com.google.cloud.bigtable.grpc.async.ThrottlingClientInterceptor
-
- All Implemented Interfaces:
- io.grpc.ClientInterceptor
public class ThrottlingClientInterceptor extends Object implements io.grpc.ClientInterceptor
Throttles requests based onResourceLimiter
-
-
Constructor Summary
Constructors Constructor and Description ThrottlingClientInterceptor(ResourceLimiter resourceLimiter)
-
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> method, io.grpc.CallOptions callOptions, io.grpc.Channel delegateChannel)
-
-
-
Constructor Detail
-
ThrottlingClientInterceptor
public ThrottlingClientInterceptor(ResourceLimiter resourceLimiter)
-
-