Enum VertxContextStorageProvider.VertxContextStorage
java.lang.Object
java.lang.Enum<VertxContextStorageProvider.VertxContextStorage>
io.vertx.tracing.opentelemetry.VertxContextStorageProvider.VertxContextStorage
- All Implemented Interfaces:
io.opentelemetry.context.ContextStorage, Serializable, Comparable<VertxContextStorageProvider.VertxContextStorage>
- Enclosing class:
VertxContextStorageProvider
public static enum VertxContextStorageProvider.VertxContextStorage
extends Enum<VertxContextStorageProvider.VertxContextStorage>
implements io.opentelemetry.context.ContextStorage
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.context.Scopeattach(io.opentelemetry.context.Context toAttach) io.opentelemetry.context.Scopeattach(io.vertx.core.internal.ContextInternal vertxCtx, io.opentelemetry.context.Context toAttach) io.opentelemetry.context.Contextcurrent()Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.opentelemetry.context.ContextStorage
root
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
attach
public io.opentelemetry.context.Scope attach(io.opentelemetry.context.Context toAttach) - Specified by:
attachin interfaceio.opentelemetry.context.ContextStorage
-
attach
public io.opentelemetry.context.Scope attach(io.vertx.core.internal.ContextInternal vertxCtx, io.opentelemetry.context.Context toAttach) -
current
public io.opentelemetry.context.Context current()- Specified by:
currentin interfaceio.opentelemetry.context.ContextStorage
-