public static enum Scheduler.SchedulingStrategy extends java.lang.Enum<Scheduler.SchedulingStrategy>
Enum Constant and Description |
---|
fcQueue |
multipleQueues |
queue |
stack |
workStealing |
Modifier and Type | Method and Description |
---|---|
static Scheduler.SchedulingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scheduler.SchedulingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduler.SchedulingStrategy queue
public static final Scheduler.SchedulingStrategy stack
public static final Scheduler.SchedulingStrategy workStealing
public static final Scheduler.SchedulingStrategy multipleQueues
public static final Scheduler.SchedulingStrategy fcQueue
public static Scheduler.SchedulingStrategy[] values()
for (Scheduler.SchedulingStrategy c : Scheduler.SchedulingStrategy.values()) System.out.println(c);
public static Scheduler.SchedulingStrategy 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 null