Uses of Class
org.apache.pivot.util.concurrent.Task
-
Packages that use Task Package Description 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.org.apache.pivot.web Provides classes for communicating with HTTP-based web services.org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.media Contains classes that provide multimedia support. -
-
Uses of Task in org.apache.pivot.io
Subclasses of Task in org.apache.pivot.io Modifier and Type Class Description class
IOTask<V>
Abstract base class for asynchronous input/output tasks. -
Uses of Task in org.apache.pivot.util.concurrent
Subclasses of Task in org.apache.pivot.util.concurrent Modifier and Type Class Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description java.util.Iterator<Task<?>>
TaskGroup. iterator()
java.util.Iterator<Task<?>>
TaskSequence. iterator()
Sequence<Task<?>>
TaskSequence. remove(int index, int count)
Methods in org.apache.pivot.util.concurrent with parameters of type Task Modifier and Type Method Description boolean
TaskGroup. add(Task<?> element)
int
TaskSequence. add(Task<?> task)
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)
boolean
TaskGroup. remove(Task<?> element)
int
TaskSequence. remove(Task<?> task)
void
TaskListener. taskExecuted(Task<V> task)
Called when the task has completed successfully.Task<?>
TaskSequence. update(int index, Task<?> task)
-
Uses of Task in org.apache.pivot.web
Subclasses of Task in org.apache.pivot.web Modifier and Type Class Description class
DeleteQuery
Executes an HTTP DELETE operation.class
GetQuery
Executes an HTTP GET operation.class
PostQuery
Executes an HTTP POST operation.class
PutQuery
Executes an HTTP PUT operation.class
Query<V>
Abstract base class for web queries. -
Uses of Task in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk with parameters of type Task Modifier and Type Method Description void
TaskAdapter. executeFailed(Task<T> task)
void
WTKTaskListener. executeFailed(Task<V> task)
Calls the defaultApplicationContext.handleUncaughtException(Thread,Throwable)
with thegetBackgroundThread()
andgetFault()
.void
TaskAdapter. taskExecuted(Task<T> task)
void
WTKTaskListener. taskExecuted(Task<V> task)
-
Uses of Task in org.apache.pivot.wtk.media
Subclasses of Task in org.apache.pivot.wtk.media Modifier and Type Class Description static class
Image.LoadTask
BackgroundTask
that executes an image load operation.
-