public enum ChannelMeters extends Enum<ChannelMeters> implements io.micrometer.core.instrument.docs.DocumentedMeter
Modifier and Type | Class and Description |
---|---|
static class |
ChannelMeters.ChannelMetersTags |
static class |
ChannelMeters.ConnectionsTotalMeterTags |
Enum Constant and Description |
---|
CONNECTIONS_TOTAL
The number of all opened connections on the server.
|
DATA_RECEIVED
Amount of the data received, in bytes.
|
DATA_SENT
Amount of the data sent, in bytes.
|
ERRORS_COUNT
Number of errors that occurred.
|
Modifier and Type | Method and Description |
---|---|
static ChannelMeters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelMeters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelMeters CONNECTIONS_TOTAL
public static final ChannelMeters DATA_RECEIVED
public static final ChannelMeters DATA_SENT
public static final ChannelMeters ERRORS_COUNT
public static ChannelMeters[] values()
for (ChannelMeters c : ChannelMeters.values()) System.out.println(c);
public static ChannelMeters valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null