public enum ProbeUnit extends Enum<ProbeUnit>
Enum Constant and Description |
---|
BOOLEAN
0 or 1
|
BYTES
Size, counter, represented in bytes
|
COUNT
Number of items: size, counter...
|
ENUM
0..n, ordinal of an enum
|
MS
Timestamp or duration represented in ms
|
PERCENT
An integer mostly in range 0..100 or a double mostly in range 0..1
|
Modifier and Type | Method and Description |
---|---|
static ProbeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProbeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProbeUnit BYTES
public static final ProbeUnit MS
public static final ProbeUnit PERCENT
public static final ProbeUnit COUNT
public static final ProbeUnit BOOLEAN
public static final ProbeUnit ENUM
public static ProbeUnit[] values()
for (ProbeUnit c : ProbeUnit.values()) System.out.println(c);
public static ProbeUnit 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 nullCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.