Package io.opentelemetry.context
Class LazyStorage
- java.lang.Object
-
- io.opentelemetry.context.LazyStorage
-
final class LazyStorage extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
CONTEXT_STORAGE_PROVIDER_PROPERTY
private static java.lang.String
ENABLE_STRICT_CONTEXT_PROVIDER_PROPERTY
private static java.lang.String
ENFORCE_DEFAULT_STORAGE_VALUE
private static java.util.logging.Logger
logger
private static ContextStorage
storage
-
Constructor Summary
Constructors Modifier Constructor Description private
LazyStorage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static ContextStorage
createStorage(java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> deferredStorageFailure)
(package private) static ContextStorage
get()
-
-
-
Field Detail
-
CONTEXT_STORAGE_PROVIDER_PROPERTY
private static final java.lang.String CONTEXT_STORAGE_PROVIDER_PROPERTY
- See Also:
- Constant Field Values
-
ENFORCE_DEFAULT_STORAGE_VALUE
private static final java.lang.String ENFORCE_DEFAULT_STORAGE_VALUE
- See Also:
- Constant Field Values
-
ENABLE_STRICT_CONTEXT_PROVIDER_PROPERTY
private static final java.lang.String ENABLE_STRICT_CONTEXT_PROVIDER_PROPERTY
- See Also:
- Constant Field Values
-
logger
private static final java.util.logging.Logger logger
-
storage
private static final ContextStorage storage
-
-
Method Detail
-
get
static ContextStorage get()
-
createStorage
static ContextStorage createStorage(java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> deferredStorageFailure)
-
-