public enum DispatchPriority extends 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. the queue will be scheduled for execution
after all high priority queues have been scheduled, but
before any low priority queues have been scheduled.
|
HIGH
Items dispatched to the queue will run at high priority,
i.e. the queue will be scheduled for execution before
any default priority or low priority queue.
|
LOW
Items dispatched to the queue will run at low priority,
i.e. the queue will be scheduled for execution after all
default priority and high priority queues have been
scheduled.
|
Modifier and Type | Method and Description |
---|---|
static DispatchPriority |
valueOf(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(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 © 2010–2017 FuseSource, Corp.. All rights reserved.