Top Description Interfaces Classes Enums
module io.opentelemetry.context

Package io.opentelemetry.context

Annotations
@ParametersAreNonnullByDefault
Imports
javax.annotation.ParametersAreNonnullByDefault

A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
See Also
io.opentelemetry.context.Context

Interface Summary

Modifier and TypeInterface and Description
public interface
Context

A context propagation mechanism which can carry scoped-values across API boundaries and between threads.

public interface
ContextKey<T>

Key for indexing values of type T stored in a Context.

public interface
ContextStorage

The storage for storing and retrieving the current Context.

public interface
ContextStorageProvider

A Java SPI (Service Provider Interface) to allow replacing the default ContextStorage.

public interface
ImplicitContextKeyed

A value that can be stored inside Context.

public interface
Scope

An AutoCloseable that represents a mounted context for a block of code.

Class Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv class
pack-priv class
pack-priv class
ContextStorageWrappers

Holder of functions to wrap the used ContextStorage.

pack-priv class
pack-priv class
pack-priv class
pack-priv abstract class
ForwardingExecutorService

A ExecutorService that implements methods that don't need Context.

pack-priv class
pack-priv class
StrictContextStorage

A ContextStorage which keeps track of opened and closed Scopes, reporting caller information if a Scope is closed incorrectly or not at all.

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum