@ParametersAreNonnullByDefault
Package io.opentelemetry.context
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
- See Also:
Context
-
Interface Summary Interface Description Context A context propagation mechanism which can carry scoped-values across API boundaries and between threads.ContextKey<T> Key for indexing values of typeContextKey
stored in aContext
.ContextStorage The storage for storing and retrieving the currentContext
.ContextStorageProvider A Java SPI (Service Provider Interface) to allow replacing the defaultContextStorage
.ImplicitContextKeyed A value that can be stored insideContext
.Scope AnAutoCloseable
that represents a mounted context for a block of code. -
Class Summary Class Description ArrayBasedContext ContextExecutorService ContextScheduledExecutorService ContextStorageWrappers Holder of functions to wrap the usedContextStorage
.CurrentContextExecutorService CurrentContextScheduledExecutorService DefaultContextKey<T> ForwardingExecutorService AExecutorService
that implements methods that don't needContext
.LazyStorage StrictContextStorage AContextStorage
which keeps track of opened and closedScope
s, reporting caller information if aScope
is closed incorrectly or not at all.StrictContextStorage.CallerStackTrace StrictContextStorage.PendingScopes -
Enum Summary Enum Description ThreadLocalContextStorage ThreadLocalContextStorage.NoopScope