public enum UsageGauge extends Enum<UsageGauge> implements MeterDescriptor
Enum Constant and Description |
---|
PRODUCER_STATUS |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getId() |
static UsageGauge |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageGauge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageGauge PRODUCER_STATUS
public static UsageGauge[] values()
for (UsageGauge c : UsageGauge.values()) System.out.println(c);
public static UsageGauge 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 nullpublic String getId()
getId
in interface MeterDescriptor
public String getDescription()
getDescription
in interface MeterDescriptor
Copyright © 2016–2025. All rights reserved.