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 Loggerprivate static final Objectprivate static booleanprivate static final List<Function<? super ContextStorage, ? extends ContextStorage>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidaddWrapper(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()
-