public enum DispatchPriority extends java.lang.Enum<DispatchPriority>
Defines the supported global/concurrent queue priorities.
| Enum Constant and Description |
|---|
DEFAULT
Items dispatched to the queue will run at the default
priority, i.e.
|
HIGH
Items dispatched to the queue will run at high priority,
i.e.
|
LOW
Items dispatched to the queue will run at low priority,
i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static DispatchPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DispatchPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchPriority HIGH
public static final DispatchPriority DEFAULT
public static final DispatchPriority LOW
public static DispatchPriority[] values()
for (DispatchPriority c : DispatchPriority.values()) System.out.println(c);
public static DispatchPriority 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