A C D E F G H I K M N P R S T W 
All Classes All Packages

A

AbstractWeakConcurrentMap<K,​V,​L> - Class in io.opentelemetry.context.internal.shaded
A thread-safe map with weak keys.
AbstractWeakConcurrentMap() - Constructor for class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
AbstractWeakConcurrentMap(ConcurrentMap<AbstractWeakConcurrentMap.WeakKey<K>, V>) - Constructor for class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
AbstractWeakConcurrentMap.WeakKey<K> - Class in io.opentelemetry.context.internal.shaded
 
addWrapper(Function<? super ContextStorage, ? extends ContextStorage>) - Static method in interface io.opentelemetry.context.ContextStorage
Adds the wrapper, which will be executed with the ContextStorage is first used, i.e., by calling Context.makeCurrent().
approximateSize() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
Returns the approximate size of this map where the returned number is at least as big as the actual number of entries.
approximateSize() - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 
attach(Context) - Method in interface io.opentelemetry.context.ContextStorage
Sets the specified Context as the current Context and returns a Scope representing the scope of execution.
attach(Context) - Method in class io.opentelemetry.context.StrictContextStorage
 

C

clear() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
Clears the entire map.
close() - Method in interface io.opentelemetry.context.Scope
 
composite(TextMapPropagator...) - Static method in interface io.opentelemetry.context.propagation.TextMapPropagator
Returns a TextMapPropagator which simply delegates injection and extraction to the provided propagators.
composite(Iterable<TextMapPropagator>) - Static method in interface io.opentelemetry.context.propagation.TextMapPropagator
Returns a TextMapPropagator which simply delegates injection and extraction to the provided propagators.
containsKey(K) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
containsKey(K) - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 
Context - Interface in io.opentelemetry.context
A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
ContextKey<T> - Interface in io.opentelemetry.context
Key for indexing values of type ContextKey stored in a Context.
ContextPropagators - Interface in io.opentelemetry.context.propagation
A container of the registered propagators for every supported format.
ContextStorage - Interface in io.opentelemetry.context
The storage for storing and retrieving the current Context.
ContextStorageProvider - Interface in io.opentelemetry.context
A Java SPI (Service Provider Interface) to allow replacing the default ContextStorage.
create(ContextStorage) - Static method in class io.opentelemetry.context.StrictContextStorage
Returns a new StrictContextStorage which delegates to the provided ContextStorage, wrapping created scopes to track their usage.
create(TextMapPropagator) - Static method in interface io.opentelemetry.context.propagation.ContextPropagators
Returns a ContextPropagators which can be used to extract and inject context in text payloads with the given TextMapPropagator.
current() - Static method in interface io.opentelemetry.context.Context
Return the context associated with the current Scope.
current() - Method in interface io.opentelemetry.context.ContextStorage
Returns the current Context.
current() - Method in class io.opentelemetry.context.StrictContextStorage
 

D

defaultStorage() - Static method in interface io.opentelemetry.context.ContextStorage
Returns the default ContextStorage which stores Context using a threadlocal.
defaultValue(K) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
Creates a default value.

E

ensureAllClosed() - Method in class io.opentelemetry.context.StrictContextStorage
Ensures all scopes that have been created by this storage have been closed.
equals(Object) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap.WeakKey
 
expungeStaleEntries() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
Cleans all unused references.
extract(Context, C, TextMapPropagator.Getter<C>) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator
Extracts the value from upstream.

F

fields() - Method in interface io.opentelemetry.context.propagation.TextMapPropagator
The propagation fields defined.

G

get() - Static method in interface io.opentelemetry.context.ContextStorage
Returns the ContextStorage being used by this application.
get() - Method in interface io.opentelemetry.context.ContextStorageProvider
Returns the ContextStorage to use to store Context.
get(C, String) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator.Getter
Returns the first value of the given propagation key or returns null.
get(ContextKey<V>) - Method in interface io.opentelemetry.context.Context
Returns the value stored in this Context for the given ContextKey, or null if there is no value for the key in this context.
get(K) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
get(K) - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 
getCleanerThread() - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap
 
getIfPresent(K) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
getLookupKey(K) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
Override with care as it can cause lookup failures if done incorrectly.
getLookupKey(K) - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap
 
getTextMapPropagator() - Method in interface io.opentelemetry.context.propagation.ContextPropagators
Returns a TextMapPropagator propagator.

H

hashCode() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap.WeakKey
 

I

ImplicitContextKeyed - Interface in io.opentelemetry.context
A value that can be stored inside Context.
inject(Context, C, TextMapPropagator.Setter<C>) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator
Injects the value downstream, for example as HTTP headers.
io.opentelemetry.context - package io.opentelemetry.context
A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
io.opentelemetry.context.internal.shaded - package io.opentelemetry.context.internal.shaded
 
io.opentelemetry.context.propagation - package io.opentelemetry.context.propagation
Interfaces for defining ContextPropagators for allowing context propagation across process boundaries, for example when sending context to a remote server.
iterator() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
iterator() - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 

K

keys(C) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator.Getter
Returns all the keys in the given carrier.

M

makeCurrent() - Method in interface io.opentelemetry.context.Context
Makes this the current context and returns a Scope which corresponds to the scope of execution this context is current for.
makeCurrent() - Method in interface io.opentelemetry.context.ImplicitContextKeyed
Adds this ImplicitContextKeyed value to the current context and makes the new Context the current context.

N

named(String) - Static method in interface io.opentelemetry.context.ContextKey
Returns a new ContextKey with the given debug name.
noop() - Static method in interface io.opentelemetry.context.propagation.ContextPropagators
Returns a ContextPropagators which performs no injection or extraction.
noop() - Static method in interface io.opentelemetry.context.propagation.TextMapPropagator
Returns a TextMapPropagator which does no injection or extraction.
noop() - Static method in interface io.opentelemetry.context.Scope
Returns a Scope that does nothing.

P

put(K, V) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
put(K, V) - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 
putIfAbsent(K, V) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
putIfProbablyAbsent(K, V) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 

R

remove(K) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
remove(K) - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 
resetLookupKey(WeakConcurrentMap.LookupKey<K>) - Method in class io.opentelemetry.context.internal.shaded.WeakConcurrentMap
 
resetLookupKey(L) - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
Resets any reusable state in the lookup key.
root() - Static method in interface io.opentelemetry.context.Context
Returns the root Context which all other Context are derived from.
run() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 

S

Scope - Interface in io.opentelemetry.context
An AutoCloseable that represents a mounted context for a block of code.
set(C, String, String) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator.Setter
Replaces a propagated field with the given value.
storeInContext(Context) - Method in interface io.opentelemetry.context.ImplicitContextKeyed
Returns a new Context created by setting this into the provided Context.
StrictContextStorage - Class in io.opentelemetry.context
A ContextStorage which keeps track of opened and closed Scopes, reporting caller information if a Scope is closed incorrectly or not at all.

T

TextMapPropagator - Interface in io.opentelemetry.context.propagation
Injects and extracts a value as text into carriers that travel in-band across process boundaries.
TextMapPropagator.Getter<C> - Interface in io.opentelemetry.context.propagation
Interface that allows a TextMapPropagator to read propagated fields from a carrier.
TextMapPropagator.Setter<C> - Interface in io.opentelemetry.context.propagation
Class that allows a TextMapPropagator to set propagated fields into a carrier.
toString() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap
 
toString() - Method in class io.opentelemetry.context.internal.shaded.AbstractWeakConcurrentMap.WeakKey
 

W

WeakConcurrentMap<K,​V> - Class in io.opentelemetry.context.internal.shaded
A thread-safe map with weak keys.
WeakConcurrentMap(boolean) - Constructor for class io.opentelemetry.context.internal.shaded.WeakConcurrentMap
 
WeakConcurrentMap(boolean, boolean) - Constructor for class io.opentelemetry.context.internal.shaded.WeakConcurrentMap
 
WeakConcurrentMap(boolean, boolean, ConcurrentMap<AbstractWeakConcurrentMap.WeakKey<K>, V>) - Constructor for class io.opentelemetry.context.internal.shaded.WeakConcurrentMap
 
WeakConcurrentMap.WithInlinedExpunction<K,​V> - Class in io.opentelemetry.context.internal.shaded
A WeakConcurrentMap where stale entries are removed as a side effect of interacting with this map.
with(ContextKey<V>, V) - Method in interface io.opentelemetry.context.Context
Returns a new context with the given key value set.
with(ImplicitContextKeyed) - Method in interface io.opentelemetry.context.Context
Returns a new Context with the given ImplicitContextKeyed set.
WithInlinedExpunction() - Constructor for class io.opentelemetry.context.internal.shaded.WeakConcurrentMap.WithInlinedExpunction
 
wrap(Runnable) - Method in interface io.opentelemetry.context.Context
Returns a Runnable that makes this the current context and then invokes the input Runnable.
wrap(Callable<T>) - Method in interface io.opentelemetry.context.Context
Returns a Runnable that makes this the current context and then invokes the input Runnable.
wrap(Executor) - Method in interface io.opentelemetry.context.Context
Returns an Executor that will execute callbacks in the given executor, making this the current context before each execution.
wrap(ExecutorService) - Method in interface io.opentelemetry.context.Context
Returns an ExecutorService that will execute callbacks in the given executor, making this the current context before each execution.
wrap(ScheduledExecutorService) - Method in interface io.opentelemetry.context.Context
Returns an ScheduledExecutorService that will execute callbacks in the given executor, making this the current context before each execution.
A C D E F G H I K M N P R S T W 
All Classes All Packages