public static enum AgentRestartCounter.AgentRestartReason extends Enum<AgentRestartCounter.AgentRestartReason>
| Enum Constant and Description |
|---|
OPERATION
The agent was restarted by the agent plugin's restart operation.
|
PROCESS_START
The agent was started at agent JVM process start time.
|
PROMPT_COMMAND
The agent was restarted by an agent prompt command.
|
STALE_INVENTORY
The agent contains one or more stale resource types that need to be purged.
|
VM_HEALTH_CHECK
The agent was restarted by the VM Health Check in an attempt
to correct a critical error occurring in the agent.
|
| Modifier and Type | Method and Description |
|---|---|
static AgentRestartCounter.AgentRestartReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentRestartCounter.AgentRestartReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentRestartCounter.AgentRestartReason PROCESS_START
public static final AgentRestartCounter.AgentRestartReason PROMPT_COMMAND
public static final AgentRestartCounter.AgentRestartReason OPERATION
public static final AgentRestartCounter.AgentRestartReason VM_HEALTH_CHECK
public static final AgentRestartCounter.AgentRestartReason STALE_INVENTORY
public static AgentRestartCounter.AgentRestartReason[] values()
for (AgentRestartCounter.AgentRestartReason c : AgentRestartCounter.AgentRestartReason.values()) System.out.println(c);
public static AgentRestartCounter.AgentRestartReason 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 © 2008-2014 Red Hat, Inc.. All Rights Reserved.