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.ContextunwrapContext(ContextHandle contextHandle) withValue(ContextHandle contextHandle, Span span) private static ContextHandlewrapContext(io.grpc.Context context)
-
Constructor Details
-
ContextManagerImpl
protected ContextManagerImpl()
-
-
Method Details
-
currentContext
- Specified by:
currentContextin interfaceContextManager
-
withValue
- Specified by:
withValuein interfaceContextManager
-
getValue
- Specified by:
getValuein interfaceContextManager
-
wrapContext
-
unwrapContext
-