protected static enum MetricsLogUtils.MemoryUnit extends Enum<MetricsLogUtils.MemoryUnit>
Modifier and Type | Method and Description |
---|---|
String |
symbol() |
static MetricsLogUtils.MemoryUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsLogUtils.MemoryUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsLogUtils.MemoryUnit BYTE
public static final MetricsLogUtils.MemoryUnit KILO
public static final MetricsLogUtils.MemoryUnit MEGA
public static final MetricsLogUtils.MemoryUnit GIGA
public static MetricsLogUtils.MemoryUnit[] values()
public static MetricsLogUtils.MemoryUnit 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 symbol()