@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 typeContextKeystored 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 AnAutoCloseablethat 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 AExecutorServicethat implements methods that don't needContext.LazyStorage StrictContextStorage AContextStoragewhich keeps track of opened and closedScopes, reporting caller information if aScopeis closed incorrectly or not at all.StrictContextStorage.CallerStackTrace StrictContextStorage.PendingScopes -
Enum Summary Enum Description ThreadLocalContextStorage ThreadLocalContextStorage.NoopScope