public static enum LoadMonitorTaskRunner.NextSamplingStep extends Enum<LoadMonitorTaskRunner.NextSamplingStep>
Enum Constant and Description |
---|
SAMPLE_AFTER
Sample the given target window, but wait a predetermined duration.
|
SAMPLE_NOW
Sample the given target window now.
|
SKIP_SAMPLING
Returned when for whatever reason we have to skip sampling the current target window.
|
Modifier and Type | Method and Description |
---|---|
static LoadMonitorTaskRunner.NextSamplingStep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadMonitorTaskRunner.NextSamplingStep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadMonitorTaskRunner.NextSamplingStep SAMPLE_AFTER
public static final LoadMonitorTaskRunner.NextSamplingStep SKIP_SAMPLING
public static final LoadMonitorTaskRunner.NextSamplingStep SAMPLE_NOW
public static LoadMonitorTaskRunner.NextSamplingStep[] values()
for (LoadMonitorTaskRunner.NextSamplingStep c : LoadMonitorTaskRunner.NextSamplingStep.values()) System.out.println(c);
public static LoadMonitorTaskRunner.NextSamplingStep 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