Uses of Interface
io.opentelemetry.context.ContextStorage
Packages that use ContextStorage
Package
Description
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
-
Uses of ContextStorage in io.opentelemetry.context
Classes in io.opentelemetry.context that implement ContextStorageModifier and TypeClassDescription(package private) final class
AContextStorage
which keeps track of opened and closedScope
s, reporting caller information if aScope
is closed incorrectly or not at all.(package private) enum
Fields in io.opentelemetry.context declared as ContextStorageModifier and TypeFieldDescriptionprivate final ContextStorage
StrictContextStorage.delegate
private static final ContextStorage
LazyStorage.storage
Fields in io.opentelemetry.context with type parameters of type ContextStorageModifier and TypeFieldDescriptionprivate static final List
<Function<? super ContextStorage, ? extends ContextStorage>> ContextStorageWrappers.wrappers
private static final List
<Function<? super ContextStorage, ? extends ContextStorage>> ContextStorageWrappers.wrappers
Methods in io.opentelemetry.context that return ContextStorageModifier and TypeMethodDescription(package private) static ContextStorage
LazyStorage.createStorage
(AtomicReference<Throwable> deferredStorageFailure) static ContextStorage
ContextStorage.defaultStorage()
Returns the defaultContextStorage
which storesContext
using a threadlocal.static ContextStorage
ContextStorage.get()
Returns theContextStorage
being used by this application.ContextStorageProvider.get()
Returns theContextStorage
to use to storeContext
.(package private) static ContextStorage
LazyStorage.get()
Methods in io.opentelemetry.context that return types with arguments of type ContextStorageModifier and TypeMethodDescription(package private) static List
<Function<? super ContextStorage, ? extends ContextStorage>> ContextStorageWrappers.getWrappers()
(package private) static List
<Function<? super ContextStorage, ? extends ContextStorage>> ContextStorageWrappers.getWrappers()
Methods in io.opentelemetry.context with parameters of type ContextStorageModifier and TypeMethodDescription(package private) static StrictContextStorage
StrictContextStorage.create
(ContextStorage delegate) Returns a newStrictContextStorage
which delegates to the providedContextStorage
, wrapping created scopes to track their usage.Method parameters in io.opentelemetry.context with type arguments of type ContextStorageModifier and TypeMethodDescriptionstatic void
ContextStorage.addWrapper
(Function<? super ContextStorage, ? extends ContextStorage> wrapper) Adds thewrapper
, which will be executed with theContextStorage
is first used, i.e., by callingContext.makeCurrent()
.static void
ContextStorage.addWrapper
(Function<? super ContextStorage, ? extends ContextStorage> wrapper) Adds thewrapper
, which will be executed with theContextStorage
is first used, i.e., by callingContext.makeCurrent()
.(package private) static void
ContextStorageWrappers.addWrapper
(Function<? super ContextStorage, ? extends ContextStorage> wrapper) (package private) static void
ContextStorageWrappers.addWrapper
(Function<? super ContextStorage, ? extends ContextStorage> wrapper) Constructors in io.opentelemetry.context with parameters of type ContextStorage