Package com.rabbitmq.client.impl
Enum MicrometerMetricsCollector.Metrics
- java.lang.Object
-
- java.lang.Enum<MicrometerMetricsCollector.Metrics>
-
- com.rabbitmq.client.impl.MicrometerMetricsCollector.Metrics
-
- All Implemented Interfaces:
Serializable
,Comparable<MicrometerMetricsCollector.Metrics>
- Enclosing class:
- MicrometerMetricsCollector
public static enum MicrometerMetricsCollector.Metrics extends Enum<MicrometerMetricsCollector.Metrics>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKNOWLEDGED_MESSAGES
CHANNELS
CONNECTIONS
CONSUMED_MESSAGES
PUBLISHED_MESSAGES
REJECTED_MESSAGES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MicrometerMetricsCollector.Metrics
valueOf(String name)
Returns the enum constant of this type with the specified name.static MicrometerMetricsCollector.Metrics[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTIONS
public static final MicrometerMetricsCollector.Metrics CONNECTIONS
-
CHANNELS
public static final MicrometerMetricsCollector.Metrics CHANNELS
-
PUBLISHED_MESSAGES
public static final MicrometerMetricsCollector.Metrics PUBLISHED_MESSAGES
-
CONSUMED_MESSAGES
public static final MicrometerMetricsCollector.Metrics CONSUMED_MESSAGES
-
ACKNOWLEDGED_MESSAGES
public static final MicrometerMetricsCollector.Metrics ACKNOWLEDGED_MESSAGES
-
REJECTED_MESSAGES
public static final MicrometerMetricsCollector.Metrics REJECTED_MESSAGES
-
-
Method Detail
-
values
public static MicrometerMetricsCollector.Metrics[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MicrometerMetricsCollector.Metrics c : MicrometerMetricsCollector.Metrics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MicrometerMetricsCollector.Metrics valueOf(String name)
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
-
-