public interface ServerCloseDecorator
TracingServerInterceptor
when the gRPC call is closed.Modifier and Type | Method and Description |
---|---|
void |
close(io.opentracing.Span span,
io.grpc.Status status,
io.grpc.Metadata trailers)
The method of the implementation is executed inside
ForwardingServerCall.close(Status,
Metadata) . |
void close(io.opentracing.Span span, io.grpc.Status status, io.grpc.Metadata trailers)
ForwardingServerCall.close(Status,
Metadata)
.span
- The span created by TracingServerInterceptor
status
- The status passed to ServerCall.close(Status, Metadata)
.trailers
- The trailing headers passed to ServerCall.close(Status, Metadata)
Copyright © 2017-2020–2020. All rights reserved.