public static enum RunLevelController.ThreadingPolicy extends java.lang.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 no threads at all.
|
| Modifier and Type | Method and Description |
|---|---|
static RunLevelController.ThreadingPolicy |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2013 Oracle Corporation. All Rights Reserved.