Package io.opentelemetry.context
Class ContextStorageWrappers
java.lang.Object
io.opentelemetry.context.ContextStorageWrappers
Holder of functions to wrap the used
ContextStorage
. Separate class from LazyStorage
to allow registering wrappers before initializing storage.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Logger
private static final Object
private static boolean
private static final List
<Function<? super ContextStorage, ? extends ContextStorage>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void
addWrapper
(Function<? super ContextStorage, ? extends ContextStorage> wrapper) (package private) static List
<Function<? super ContextStorage, ? extends ContextStorage>> (package private) static void
-
Field Details
-
log
-
storageInitialized
private static boolean storageInitialized -
wrappers
-
mutex
-
-
Constructor Details
-
ContextStorageWrappers
private ContextStorageWrappers()
-
-
Method Details
-
addWrapper
-
getWrappers
-
setStorageInitialized
static void setStorageInitialized()
-