| Package | Description |
|---|---|
| org.fusesource.hawtdispatch |
HawtDispatch
HawtDispatch is an abstract model for expressing concurrency via simple but
powerful API.
|
| Modifier and Type | Field and Description |
|---|---|
DispatchQueue |
Metrics.queue
The dispatch queue associated with the metrics collected.
|
| Modifier and Type | Method and Description |
|---|---|
static DispatchQueue |
Dispatch.createQueue()
Creates a new serial dispatch queue to which runnable objects may be submitted.
|
DispatchQueue |
DispatchQueue.createQueue(String label)
Creates a new serial dispatch queue with this queue set as it's
target queue.
|
DispatchQueue |
Dispatcher.createQueue(String label)
Creates a new serial dispatch queue to which runnable objects may be submitted.
|
static DispatchQueue |
Dispatch.createQueue(String label)
Creates a new serial dispatch queue to which runnable objects may be submitted.
|
DispatchQueue |
Dispatcher.getCurrentQueue()
Returns the queue on which the currently executing runnable is running.
|
static DispatchQueue |
Dispatch.getCurrentQueue()
Returns the queue on which the currently executing runnable is running.
|
DispatchQueue |
Dispatcher.getCurrentThreadQueue() |
static DispatchQueue |
Dispatch.getCurrentThreadQueue() |
DispatchQueue |
Dispatcher.getGlobalQueue()
Returns the global concurrent queue of default priority.
|
static DispatchQueue |
Dispatch.getGlobalQueue()
Returns the global concurrent queue of default priority.
|
DispatchQueue |
Dispatcher.getGlobalQueue(DispatchPriority priority)
Returns a well-known global concurrent queue of a given priority level.
|
static DispatchQueue |
Dispatch.getGlobalQueue(DispatchPriority priority)
Returns a well-known global concurrent queue of a given priority level.
|
DispatchQueue |
DispatchObject.getTargetQueue()
Gets the target queue for this object.
|
DispatchQueue[] |
Dispatcher.getThreadQueues(DispatchPriority priority) |
static DispatchQueue[] |
Dispatch.getThreadQueues(DispatchPriority priority) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
DispatchQueueProxy.create(Class<T> interfaceClass,
T target,
DispatchQueue queue)
Create an asynchronous dispatch proxy to the target object via the dispatch queue.
|
static <T> T |
DispatchQueueProxy.create(ClassLoader classLoader,
Class<T> interfaceClass,
T target,
DispatchQueue queue)
Create an asynchronous dispatch proxy to the target object via the dispatch queue.
|
<Event,MergedEvent> |
Dispatcher.createSource(EventAggregator<Event,MergedEvent> aggregator,
DispatchQueue queue)
Creates a new
CustomDispatchSource to monitor events merged into
the dispatch source and automatically submit a handler runnable to a dispatch queue
in response to the events. |
static <Event,MergedEvent> |
Dispatch.createSource(EventAggregator<Event,MergedEvent> aggregator,
DispatchQueue queue)
Creates a new
CustomDispatchSource to monitor events merged into
the dispatch source and automatically submit a handler runnable to a dispatch queue
in response to the events. |
DispatchSource |
Dispatcher.createSource(SelectableChannel channel,
int interestOps,
DispatchQueue queue)
Creates a new
DispatchSource to monitor SelectableChannel objects and
automatically submit a handler runnable to a dispatch queue in response to events. |
static DispatchSource |
Dispatch.createSource(SelectableChannel channel,
int interestOps,
DispatchQueue queue)
Creates a new
DispatchSource to monitor SelectableChannel objects and
automatically submit a handler runnable to a dispatch queue in response to events. |
void |
DispatchObject.setTargetQueue(DispatchQueue queue)
Sets the target queue for this object.
|
| Constructor and Description |
|---|
AggregatingExecutor(DispatchQueue queue) |
Copyright © 2010-2015 FuseSource, Corp.. All Rights Reserved.