Uses of Interface
io.opentelemetry.context.ContextStorage
Packages that use ContextStorage
Package
Description
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
-
Uses of ContextStorage in io.opentelemetry.context
Methods in io.opentelemetry.context that return ContextStorageModifier and TypeMethodDescriptionstatic ContextStorageContextStorage.defaultStorage()Returns the defaultContextStoragewhich storesContextusing a threadlocal.static ContextStorageContextStorage.get()Returns theContextStoragebeing used by this application.ContextStorageProvider.get()Returns theContextStorageto use to storeContext.Method parameters in io.opentelemetry.context with type arguments of type ContextStorageModifier and TypeMethodDescriptionstatic voidContextStorage.addWrapper(Function<? super ContextStorage, ? extends ContextStorage> wrapper) Adds thewrapper, which will be executed with theContextStorageis first used, i.e., by callingContext.makeCurrent().static voidContextStorage.addWrapper(Function<? super ContextStorage, ? extends ContextStorage> wrapper) Adds thewrapper, which will be executed with theContextStorageis first used, i.e., by callingContext.makeCurrent().