Uses of Interface
io.opentelemetry.context.ContextKey
Packages that use ContextKey
Package
Description
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
-
Uses of ContextKey in io.opentelemetry.context
Methods in io.opentelemetry.context that return ContextKeyModifier and TypeMethodDescriptionstatic <T> ContextKey<T> Returns a newContextKeywith the given debug name.Methods in io.opentelemetry.context with parameters of type ContextKeyModifier and TypeMethodDescription<V> VContext.get(ContextKey<V> key) Returns the value stored in thisContextfor the givenContextKey, ornullif there is no value for the key in this context.<V> ContextContext.with(ContextKey<V> k1, V v1) Returns a new context with the given key value set.