public class ContextManagerImpl extends Object implements ContextManager
ContextManager implementation using io.grpc.Context| Modifier | Constructor and Description |
|---|---|
protected |
ContextManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
ContextHandle |
currentContext() |
Span |
getValue(ContextHandle contextHandle) |
ContextHandle |
withValue(ContextHandle contextHandle,
Span span) |
public ContextHandle currentContext()
currentContext in interface ContextManagerpublic ContextHandle withValue(ContextHandle contextHandle, @Nullable Span span)
withValue in interface ContextManagerpublic Span getValue(ContextHandle contextHandle)
getValue in interface ContextManager