public enum TaskPriority extends java.lang.Enum<TaskPriority>
PrioritySchedulerService.
 This priority has nothing to do with the system level thread priority. Instead this only represents a priority within the thread pool start a task.
| Enum Constant and Description | 
|---|
High
High priority tasks should be executed as soon as possible within the thread pool. 
 | 
Low
Low priority tasks are as the name indicates lower priority compared to high priority task. 
 | 
Starvable
This priority is never guaranteed to run. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TaskPriority | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static TaskPriority[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TaskPriority High
public static final TaskPriority Low
PrioritySchedulerService as to how this priority 
 is enforced.  
 A generalization for low priority tasks is that they should not be dependent on an accurate execution time.
public static final TaskPriority Starvable
public static TaskPriority[] values()
for (TaskPriority c : TaskPriority.values()) System.out.println(c);
public static TaskPriority 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