public class MetricClientInterceptor extends Object implements org.apache.ratis.thirdparty.io.grpc.ClientInterceptor, Closeable
| 构造器和说明 |
|---|
MetricClientInterceptor(String identifier) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
<ReqT,RespT> |
interceptCall(org.apache.ratis.thirdparty.io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor,
org.apache.ratis.thirdparty.io.grpc.CallOptions callOptions,
org.apache.ratis.thirdparty.io.grpc.Channel channel) |
public MetricClientInterceptor(String identifier)
public <ReqT,RespT> org.apache.ratis.thirdparty.io.grpc.ClientCall<ReqT,RespT> interceptCall(org.apache.ratis.thirdparty.io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor, org.apache.ratis.thirdparty.io.grpc.CallOptions callOptions, org.apache.ratis.thirdparty.io.grpc.Channel channel)
interceptCall 在接口中 org.apache.ratis.thirdparty.io.grpc.ClientInterceptorpublic void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2017–2025 The Apache Software Foundation. All rights reserved.