public enum MonitorDetails extends Enum<MonitorDetails>
| Enum Constant and Description |
|---|
CPU_LOAD_AVERAGE |
FREE_MEMORY |
GARBAGE_COLLECTOR_ELAPSED_TIME |
HEAP_MEMORY_USAGE |
MAX_MEMORY |
NON_HEAP_MEMORY_USAGE |
OBJECT_PENDING_FINALIZATION |
THREAD_COUNT |
TOTAL_MEMORY |
| Modifier and Type | Method and Description |
|---|---|
Monitor |
getMonitor() |
String |
toString() |
static MonitorDetails |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitorDetails[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorDetails FREE_MEMORY
public static final MonitorDetails TOTAL_MEMORY
public static final MonitorDetails MAX_MEMORY
public static final MonitorDetails HEAP_MEMORY_USAGE
public static final MonitorDetails NON_HEAP_MEMORY_USAGE
public static final MonitorDetails OBJECT_PENDING_FINALIZATION
public static final MonitorDetails GARBAGE_COLLECTOR_ELAPSED_TIME
public static final MonitorDetails CPU_LOAD_AVERAGE
public static final MonitorDetails THREAD_COUNT
public static MonitorDetails[] values()
for (MonitorDetails c : MonitorDetails.values()) System.out.println(c);
public static MonitorDetails 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 toString()
toString in class Enum<MonitorDetails>public Monitor getMonitor()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.