Enum R2dbcNetAttributesGetter
java.lang.Object
java.lang.Enum<R2dbcNetAttributesGetter>
io.opentelemetry.instrumentation.r2dbc.v1_0.internal.R2dbcNetAttributesGetter
- All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<DbExecution,,Void> Serializable,Comparable<R2dbcNetAttributesGetter>,java.lang.constant.Constable
public enum R2dbcNetAttributesGetter
extends Enum<R2dbcNetAttributesGetter>
implements io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<DbExecution,Void>
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetServerAddress(DbExecution request) getServerPort(DbExecution request) static R2dbcNetAttributesGetterReturns the enum constant of this type with the specified name.static R2dbcNetAttributesGetter[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter
getServerInetSocketAddress, getServerSocketAddress, getServerSocketDomain, getServerSocketPort
-
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
-
getServerAddress
- Specified by:
getServerAddressin interfaceio.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<DbExecution,Void>
-
getServerPort
- Specified by:
getServerPortin interfaceio.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<DbExecution,Void>
-