| Package | Description |
|---|---|
| org.fusesource.hawtdispatch |
HawtDispatch
HawtDispatch is an abstract model for expressing concurrency via simple but
powerful API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TaskWrapper
|
| Modifier and Type | Field and Description |
|---|---|
static Task |
Dispatch.NOOP
A Runnable task that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
BaseRetained.getDisposer() |
| Modifier and Type | Method and Description |
|---|---|
void |
DispatchQueue.execute(Task task)
Submits a task for asynchronous execution on a dispatch queue.
|
void |
DispatchQueue.executeAfter(long delay,
TimeUnit unit,
Task task)
Schedule a task for execution on a given queue at a specified time.
|
void |
DispatchSource.setCancelHandler(Task task)
Sets the cancellation handler task for the given dispatch source.
|
void |
BaseRetained.setDisposer(Task disposer)
Adds a disposer runnable that is executed once the object is disposed.
|
void |
DispatchSource.setEventHandler(Task task)
Sets the event handler task of this dispatch source.
|
Copyright © 2010-2015 FuseSource, Corp.. All Rights Reserved.