Enum Class ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind
java.lang.Object
java.lang.Enum<ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind>
io.micronaut.configuration.metrics.binder.netty.ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind
- All Implemented Interfaces:
Serializable, Comparable<ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind>, Constable
- Enclosing class:
ByteBufAllocatorMetricsConfig
public static enum ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind
extends Enum<ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind>
Netty ByteBuf allocator metrics that can be exposed.
- Since:
- 6.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMetrics for the pooled ByteBuf allocator.Metrics for pooled allocator arenas.Metrics for pooled allocator arena chunk lists.Metrics for pooled allocator arena chunks.Metrics for pooled allocator arena subpages.Metrics for the unpooled ByteBuf allocator. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POOLED_ALLOCATOR
Metrics for the pooled ByteBuf allocator. -
UNPOOLED_ALLOCATOR
Metrics for the unpooled ByteBuf allocator. -
POOLED_ARENAS
Metrics for pooled allocator arenas. -
POOLED_ARENAS_SUBPAGES
Metrics for pooled allocator arena subpages. -
POOLED_ARENAS_CHUNKLISTS
public static final ByteBufAllocatorMetricsConfig.ByteBufAllocatorMetricKind POOLED_ARENAS_CHUNKLISTSMetrics for pooled allocator arena chunk lists. -
POOLED_ARENAS_CHUNKS
Metrics for pooled allocator arena chunks.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-