org.deegree.framework.concurrent |
|
Java Source File Name | Type | Comment |
DoServiceTask.java | Class | DoServiceTask is the Callable class that should be used by all services to invoke
other services. |
ExecutionFinishedEvent.java | Class | Event that is sent when asynchronous task finished. |
ExecutionFinishedListener.java | Interface | Listener interface for sending a notification that the asynchronous execution of a
task has finished (successfully or abnormally). |
Executor.java | Class | The Executor is deegree's central place to:
- Perform a task asynchronously (in an independent thread) optionally with a maximum execution
time.
- Perform a task synchronously with a maximum execution time.
- Perform several task synchronously (but in parallel threads) with a maximum execution time.
The Executor class is realized as a singleton and uses a cached thread pool
internally to minimize overhead for acquiring the necessary
Thread instances and to
manage the number of concurrent threads. |
ExecutorTest.java | Class | |