Enum CheckerType
- java.lang.Object
-
- java.lang.Enum<CheckerType>
-
- fish.payara.nucleus.healthcheck.configuration.CheckerType
-
- All Implemented Interfaces:
Serializable
,Comparable<CheckerType>
public enum CheckerType extends Enum<CheckerType>
- Author:
- Andrew Pielage
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_POOL
CPU_USAGE
GARBAGE_COLLECTOR
HEAP_MEMORY_USAGE
HOGGING_THREADS
MACHINE_MEMORY_USAGE
MP_HEALTH
MP_METRICS
STUCK_THREAD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CheckerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION_POOL
public static final CheckerType CONNECTION_POOL
-
CPU_USAGE
public static final CheckerType CPU_USAGE
-
GARBAGE_COLLECTOR
public static final CheckerType GARBAGE_COLLECTOR
-
HEAP_MEMORY_USAGE
public static final CheckerType HEAP_MEMORY_USAGE
-
HOGGING_THREADS
public static final CheckerType HOGGING_THREADS
-
MACHINE_MEMORY_USAGE
public static final CheckerType MACHINE_MEMORY_USAGE
-
STUCK_THREAD
public static final CheckerType STUCK_THREAD
-
MP_HEALTH
public static final CheckerType MP_HEALTH
-
MP_METRICS
public static final CheckerType MP_METRICS
-
-
Method Detail
-
values
public static CheckerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CheckerType c : CheckerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckerType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-