public static enum RunLevelController.ThreadingPolicy extends Enum<RunLevelController.ThreadingPolicy>
Enum Constant and Description |
---|
FULLY_THREADED
The RunLevelController will use as many threads
as it needs (but controlled by the MaximumUseableThreads
value)
|
USE_NO_THREADS
The RunLevelController will use a minimal number
of threads.
|
Modifier and Type | Method and Description |
---|---|
static RunLevelController.ThreadingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunLevelController.ThreadingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunLevelController.ThreadingPolicy FULLY_THREADED
public static final RunLevelController.ThreadingPolicy USE_NO_THREADS
public static RunLevelController.ThreadingPolicy[] values()
for (RunLevelController.ThreadingPolicy c : RunLevelController.ThreadingPolicy.values()) System.out.println(c);
public static RunLevelController.ThreadingPolicy 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 © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.