Uses of Interface
io.opentelemetry.context.ContextStorage
-
Packages that use ContextStorage Package Description io.opentelemetry.context 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 ContextStorage Modifier and Type Class Description (package private) class
StrictContextStorage
AContextStorage
which keeps track of opened and closedScope
s, reporting caller information if aScope
is closed incorrectly or not at all.(package private) class
ThreadLocalContextStorage
Fields in io.opentelemetry.context declared as ContextStorage Modifier and Type Field Description private ContextStorage
StrictContextStorage. delegate
private static ContextStorage
LazyStorage. storage
Fields in io.opentelemetry.context with type parameters of type ContextStorage Modifier and Type Field Description private static java.util.List<java.util.function.Function<? super ContextStorage,? extends ContextStorage>>
ContextStorageWrappers. wrappers
private static java.util.List<java.util.function.Function<? super ContextStorage,? extends ContextStorage>>
ContextStorageWrappers. wrappers
Methods in io.opentelemetry.context that return ContextStorage Modifier and Type Method Description (package private) static ContextStorage
LazyStorage. createStorage(java.util.concurrent.atomic.AtomicReference<java.lang.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.ContextStorage
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 ContextStorage Modifier and Type Method Description (package private) static java.util.List<java.util.function.Function<? super ContextStorage,? extends ContextStorage>>
ContextStorageWrappers. getWrappers()
(package private) static java.util.List<java.util.function.Function<? super ContextStorage,? extends ContextStorage>>
ContextStorageWrappers. getWrappers()
Methods in io.opentelemetry.context with parameters of type ContextStorage Modifier and Type Method Description (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 ContextStorage Modifier and Type Method Description static void
ContextStorage. addWrapper(java.util.function.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(java.util.function.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(java.util.function.Function<? super ContextStorage,? extends ContextStorage> wrapper)
(package private) static void
ContextStorageWrappers. addWrapper(java.util.function.Function<? super ContextStorage,? extends ContextStorage> wrapper)
Constructors in io.opentelemetry.context with parameters of type ContextStorage Constructor Description StrictContextStorage(ContextStorage delegate)
-