Executor is an abstraction for a thread factory or thread pool for executing actions asynchronously.
The interface that tasks must implement
Provides security-checked access to internal thread pools as a java.security.PrivilegedAction, to be used conveniently with an AccessController.doPrivileged or Security.doPrivileged.
This class provides a blocking mechanism that will not proceed while some operation bounded by this object is in progress.
Common Thread subclass to handle potential loss of interrupted status.
A PrivilegedAction for creating a new thread conveniently with an AccessController.doPrivileged or Security.doPrivileged.
An Object to control the concurrent state.
Utility class used to prevent access to a service before it has completed its initialization or after it starts to shutdown.
A task manager manages a single queue of tasks, and some number of worker threads.
Permission to use internal thread pools (see GetThreadPoolAction).
A Queue of timed tasks.
Description of a future thread.
A ticket that can be used for cancelling a future task.
InterruptedException transformed to a runtime exception.
InProgress) provide synchronization mechanisms. Others, such as
TaskManager, provide utilities for managing the creation of multiple threads to do independent tasks.
Copyright © GigaSpaces.