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.StringCONTEXT_STORAGE_PROVIDER_PROPERTYprivate static java.lang.StringENABLE_STRICT_CONTEXT_PROVIDER_PROPERTYprivate static java.lang.StringENFORCE_DEFAULT_STORAGE_VALUEprivate static java.util.logging.Loggerloggerprivate static ContextStoragestorage
-
Constructor Summary
Constructors Modifier Constructor Description privateLazyStorage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static ContextStoragecreateStorage(java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> deferredStorageFailure)(package private) static ContextStorageget()
-
-
-
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)
-
-