Uses of Interface
io.opencensus.trace.ContextHandle
Packages that use ContextHandle
-
Uses of ContextHandle in io.opencensus.trace
Fields in io.opencensus.trace declared as ContextHandleModifier and TypeFieldDescriptionprivate final ContextHandle
CurrentSpanUtils.ScopeInSpan.origContext
Methods in io.opencensus.trace that return ContextHandleModifier and TypeMethodDescriptionContextHandle.attach()
ContextManager.currentContext()
ContextManager.withValue
(ContextHandle contextHandle, Span span) Methods in io.opencensus.trace with parameters of type ContextHandleModifier and TypeMethodDescriptionvoid
ContextHandle.detach
(ContextHandle contextHandle) ContextManager.getValue
(ContextHandle contextHandle) ContextManager.withValue
(ContextHandle contextHandle, Span span) -
Uses of ContextHandle in io.opencensus.trace.unsafe
Classes in io.opencensus.trace.unsafe that implement ContextHandleModifier and TypeClassDescription(package private) class
ContextHandle
implementation using .Methods in io.opencensus.trace.unsafe that return ContextHandleModifier and TypeMethodDescriptionContextHandleImpl.attach()
static ContextHandle
ContextHandleUtils.currentContext()
ContextManagerImpl.currentContext()
static ContextHandle
ContextHandleUtils.withValue
(ContextHandle context, Span span) Creates a newContextHandle
with the given value set.ContextManagerImpl.withValue
(ContextHandle contextHandle, Span span) private static ContextHandle
ContextManagerImpl.wrapContext
(io.grpc.Context context) Methods in io.opencensus.trace.unsafe with parameters of type ContextHandleModifier and TypeMethodDescriptionvoid
ContextHandleImpl.detach
(ContextHandle contextHandle) static Span
ContextHandleUtils.getValue
(ContextHandle context) Returns the value from the specifiedContextHandle
.ContextManagerImpl.getValue
(ContextHandle contextHandle) static io.grpc.Context
ContextHandleUtils.tryExtractGrpcContext
(ContextHandle handle) Attempts to pull theContext
out of an OpenCensusContextHandle
.private static io.grpc.Context
ContextManagerImpl.unwrapContext
(ContextHandle contextHandle) static ContextHandle
ContextHandleUtils.withValue
(ContextHandle context, Span span) Creates a newContextHandle
with the given value set.ContextManagerImpl.withValue
(ContextHandle contextHandle, Span span)