public class TracingClientInterceptor extends Object implements io.grpc.ClientInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
TracingClientInterceptor.Builder
Builds the configuration of a TracingClientInterceptor.
|
static class |
TracingClientInterceptor.ClientRequestAttribute |
Modifier and Type | Method and Description |
---|---|
io.grpc.Channel |
intercept(io.grpc.Channel channel)
Use this interceptor to trace all requests made by this client channel.
|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOptions,
io.grpc.Channel next) |
static TracingClientInterceptor.Builder |
newBuilder()
Creates a new
TracingClientInterceptor.Builder . |
public static TracingClientInterceptor.Builder newBuilder()
TracingClientInterceptor.Builder
.public io.grpc.Channel intercept(io.grpc.Channel channel)
channel
- to be tracedpublic <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
interceptCall
in interface io.grpc.ClientInterceptor
Copyright © 2017-2019–2019. All rights reserved.