| Package | Description |
|---|---|
| org.fusesource.hawtdispatch |
HawtDispatch
|
| org.fusesource.hawtdispatch.internal | |
| org.fusesource.hawtdispatch.internal.pool |
| Modifier and Type | Field and Description |
|---|---|
static DispatchPriority |
Dispatch.DEFAULT |
static DispatchPriority |
Dispatch.HIGH |
static DispatchPriority |
Dispatch.LOW |
| Modifier and Type | Method and Description |
|---|---|
static DispatchPriority |
DispatchPriority.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DispatchPriority[] |
DispatchPriority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static DispatchQueue |
Dispatch.getGlobalQueue(DispatchPriority priority)
Returns a well-known global concurrent queue of a given priority level.
|
DispatchQueue |
Dispatcher.getGlobalQueue(DispatchPriority priority)
Returns a well-known global concurrent queue of a given priority level.
|
static DispatchQueue[] |
Dispatch.getThreadQueues(DispatchPriority priority) |
DispatchQueue[] |
Dispatcher.getThreadQueues(DispatchPriority priority) |
| Modifier and Type | Field and Description |
|---|---|
private DispatchPriority |
GlobalDispatchQueue.priority |
| Modifier and Type | Method and Description |
|---|---|
DispatchPriority |
GlobalDispatchQueue.getPriority() |
DispatchPriority |
ThreadDispatchQueue.getPriority() |
| Modifier and Type | Method and Description |
|---|---|
GlobalDispatchQueue |
HawtDispatcher.getGlobalQueue(DispatchPriority priority) |
DispatchQueue[] |
HawtDispatcher.getThreadQueues(DispatchPriority priority) |
| Constructor and Description |
|---|
GlobalDispatchQueue(HawtDispatcher dispatcher,
DispatchPriority priority,
int threads) |
| Modifier and Type | Method and Description |
|---|---|
private static int |
SimplePool.priority(DispatchPriority priority) |
| Constructor and Description |
|---|
SimplePool(GlobalDispatchQueue globalQueue,
int parallelism,
DispatchPriority priority) |