|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Task | |
---|---|
org.apache.pivot.io | Contains classes related to input/output operations. |
org.apache.pivot.util.concurrent | Provides a set of classes to simplify the execution of background tasks. |
Uses of Task in org.apache.pivot.io |
---|
Subclasses of Task in org.apache.pivot.io | |
---|---|
class |
IOTask<V>
Abstract base class for input/output tasks. |
Uses of Task in org.apache.pivot.util.concurrent |
---|
Subclasses of Task in org.apache.pivot.util.concurrent | |
---|---|
class |
TaskGroup
Task that runs a group of tasks in parallel and notifies listeners
when all tasks are complete. |
class |
TaskSequence
Task that runs a sequence of tasks in series and notifies listeners
when all tasks are complete. |
Methods in org.apache.pivot.util.concurrent that return Task | |
---|---|
Task<?> |
TaskSequence.get(int index)
|
Task<?> |
TaskSequence.update(int index,
Task<?> task)
|
Methods in org.apache.pivot.util.concurrent that return types with arguments of type Task | |
---|---|
Iterator<Task<?>> |
TaskSequence.iterator()
|
Iterator<Task<?>> |
TaskGroup.iterator()
|
Sequence<Task<?>> |
TaskSequence.remove(int index,
int count)
|
Methods in org.apache.pivot.util.concurrent with parameters of type Task | |
---|---|
int |
TaskSequence.add(Task<?> task)
|
boolean |
TaskGroup.add(Task<?> element)
|
boolean |
TaskGroup.contains(Task<?> element)
|
void |
TaskListener.executeFailed(Task<V> task)
Called when task execution has failed. |
int |
TaskSequence.indexOf(Task<?> task)
|
void |
TaskSequence.insert(Task<?> task,
int index)
|
int |
TaskSequence.remove(Task<?> task)
|
boolean |
TaskGroup.remove(Task<?> element)
|
void |
TaskListener.taskExecuted(Task<V> task)
Called when the task has completed successfully. |
Task<?> |
TaskSequence.update(int index,
Task<?> task)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |