public enum ProbeLevel extends Enum<ProbeLevel>
Enum Constant and Description |
---|
DEBUG
Indicates that is a probe for debugging purposes.
|
INFO
Indicates that it is a regular probe.
|
MANDATORY
Indicates that a probe is mandatory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(ProbeLevel minimumLevel)
Checks if the this ProbeLevel has a precedence equal or higher than the minimumLevel.
|
static ProbeLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProbeLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProbeLevel MANDATORY
public static final ProbeLevel INFO
public static final ProbeLevel DEBUG
public static ProbeLevel[] values()
for (ProbeLevel c : ProbeLevel.values()) System.out.println(c);
public static ProbeLevel 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 boolean isEnabled(ProbeLevel minimumLevel)
minimumLevel
- the minimum ProbeLevelCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.