Uses of Interface
io.opencensus.trace.ContextHandle
-
Packages that use ContextHandle Package Description io.opencensus.trace API for distributed tracing.io.opencensus.trace.unsafe -
-
Uses of ContextHandle in io.opencensus.trace
Fields in io.opencensus.trace declared as ContextHandle Modifier and Type Field Description private ContextHandle
CurrentSpanUtils.ScopeInSpan. origContext
Methods in io.opencensus.trace that return ContextHandle Modifier and Type Method Description ContextHandle
ContextHandle. attach()
ContextHandle
ContextManager. currentContext()
ContextHandle
ContextManager. withValue(ContextHandle contextHandle, Span span)
Methods in io.opencensus.trace with parameters of type ContextHandle Modifier and Type Method Description void
ContextHandle. detach(ContextHandle contextHandle)
Span
ContextManager. getValue(ContextHandle contextHandle)
ContextHandle
ContextManager. withValue(ContextHandle contextHandle, Span span)
-
Uses of ContextHandle in io.opencensus.trace.unsafe
Classes in io.opencensus.trace.unsafe that implement ContextHandle Modifier and Type Class Description (package private) class
ContextHandleImpl
ContextHandle
implementation using {@see io.grpc.Context}.Methods in io.opencensus.trace.unsafe that return ContextHandle Modifier and Type Method Description ContextHandle
ContextHandleImpl. attach()
static ContextHandle
ContextHandleUtils. currentContext()
ContextHandle
ContextManagerImpl. currentContext()
static ContextHandle
ContextHandleUtils. withValue(ContextHandle context, Span span)
Creates a newContextHandle
with the given value set.ContextHandle
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 ContextHandle Modifier and Type Method Description void
ContextHandleImpl. detach(ContextHandle contextHandle)
static Span
ContextHandleUtils. getValue(ContextHandle context)
Returns the value from the specifiedContextHandle
.Span
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.ContextHandle
ContextManagerImpl. withValue(ContextHandle contextHandle, Span span)
-