|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DispatchQueue.QueueType>
org.fusesource.hawtdispatch.DispatchQueue.QueueType
public static enum DispatchQueue.QueueType
Defines the types of dispatch queues supported by the system.
Enum Constant Summary | |
---|---|
GLOBAL_QUEUE
A global queue represents a dispatch queue which executes runnable objects in a concurrently. |
|
SERIAL_QUEUE
A serial dispatch queues executes runnable objects submitted to them serially in FIFO order. |
|
THREAD_QUEUE
A thread queue is a dispatch queue associated with a specific thread. |
Method Summary | |
---|---|
static DispatchQueue.QueueType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DispatchQueue.QueueType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DispatchQueue.QueueType GLOBAL_QUEUE
public static final DispatchQueue.QueueType SERIAL_QUEUE
public static final DispatchQueue.QueueType THREAD_QUEUE
Method Detail |
---|
public static DispatchQueue.QueueType[] values()
for (DispatchQueue.QueueType c : DispatchQueue.QueueType.values()) System.out.println(c);
public static DispatchQueue.QueueType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |