public enum AgentCommand extends Enum<AgentCommand>
| Enum Constant and Description |
|---|
DUMP
Initiates a heap dump in the Java Virtual Machine.
|
FREE
Requests the amount of free memory in the Java Virtual Machine.
|
GC
Calls
System.gc() to perform a garbage collection. |
MAX
Requests the maximal amount of memory the Java Virtual Machine will attempt to use.
|
TOTAL
Requests the amount of total memory in the Java Virtual Machine.
|
USED
Requests the amount of used memory in the Java Virtual Machine.
|
| Modifier and Type | Method and Description |
|---|---|
static AgentCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentCommand FREE
public static final AgentCommand USED
public static final AgentCommand TOTAL
public static final AgentCommand MAX
public static final AgentCommand DUMP
public static final AgentCommand GC
System.gc() to perform a garbage collection.public static AgentCommand[] values()
for (AgentCommand c : AgentCommand.values()) System.out.println(c);
public static AgentCommand 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 © 2010–2015 PerfCake Community. All rights reserved.