Package io.opencensus.trace.unsafe
Class ContextManagerImpl
java.lang.Object
io.opencensus.trace.unsafe.ContextManagerImpl
- All Implemented Interfaces:
ContextManager
Default
ContextManager
implementation using io.grpc.Context-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue
(ContextHandle contextHandle) private static io.grpc.Context
unwrapContext
(ContextHandle contextHandle) withValue
(ContextHandle contextHandle, Span span) private static ContextHandle
wrapContext
(io.grpc.Context context)
-
Constructor Details
-
ContextManagerImpl
protected ContextManagerImpl()
-
-
Method Details
-
currentContext
- Specified by:
currentContext
in interfaceContextManager
-
withValue
- Specified by:
withValue
in interfaceContextManager
-
getValue
- Specified by:
getValue
in interfaceContextManager
-
wrapContext
-
unwrapContext
-