public static enum LoadMonitorTaskRunner.LoadMonitorTaskRunnerState extends Enum<LoadMonitorTaskRunner.LoadMonitorTaskRunnerState>
Enum Constant and Description |
---|
NOT_STARTED
Used on startup, before the first run kicks in.
|
PAUSED
The thread is paused from taking any further action until it is resumed.
|
RUNNING
The thread is running fine and awaiting the next time to start sampling.
|
SAMPLING
The thread is actively sampling metrics from the topic.
|
Modifier and Type | Method and Description |
---|---|
static LoadMonitorTaskRunner.LoadMonitorTaskRunnerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadMonitorTaskRunner.LoadMonitorTaskRunnerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadMonitorTaskRunner.LoadMonitorTaskRunnerState NOT_STARTED
public static final LoadMonitorTaskRunner.LoadMonitorTaskRunnerState RUNNING
public static final LoadMonitorTaskRunner.LoadMonitorTaskRunnerState SAMPLING
public static final LoadMonitorTaskRunner.LoadMonitorTaskRunnerState PAUSED
public static LoadMonitorTaskRunner.LoadMonitorTaskRunnerState[] values()
for (LoadMonitorTaskRunner.LoadMonitorTaskRunnerState c : LoadMonitorTaskRunner.LoadMonitorTaskRunnerState.values()) System.out.println(c);
public static LoadMonitorTaskRunner.LoadMonitorTaskRunnerState 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 null