Uses of Interface
io.opentelemetry.context.Scope
Packages that use Scope
Package
Description
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
-
Uses of Scope in io.opentelemetry.context
Classes in io.opentelemetry.context that implement ScopeModifier and TypeClassDescription(package private) final class
(package private) static enum
private class
Fields in io.opentelemetry.context declared as ScopeModifier and TypeFieldDescription(package private) final Scope
StrictContextStorage.StrictScope.delegate
Fields in io.opentelemetry.context with type parameters of type ScopeModifier and TypeFieldDescriptionprivate final ConcurrentHashMap
<AbstractWeakConcurrentMap.WeakKey<Scope>, StrictContextStorage.CallerStackTrace> StrictContextStorage.PendingScopes.map
Methods in io.opentelemetry.context that return ScopeModifier and TypeMethodDescriptiondefault Scope
Context.makeCurrent()
Makes this the current context and returns aScope
which corresponds to the scope of execution this context is current for.default Scope
ImplicitContextKeyed.makeCurrent()
Adds thisImplicitContextKeyed
value to thecurrent context
and makes the newContext
the current context.static Scope
Scope.noop()
Returns aScope
that does nothing.Constructors in io.opentelemetry.context with parameters of type ScopeModifierConstructorDescription(package private)
StrictScope
(Scope delegate, StrictContextStorage.CallerStackTrace caller) Constructor parameters in io.opentelemetry.context with type arguments of type ScopeModifierConstructorDescription(package private)
PendingScopes
(ConcurrentHashMap<AbstractWeakConcurrentMap.WeakKey<Scope>, StrictContextStorage.CallerStackTrace> map)