|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Executor | Executor is an abstraction for a thread factory or thread pool for executing actions asynchronously. |
TaskManager.Task | The interface that tasks must implement |
Class Summary | |
---|---|
GetThreadPoolAction | Provides security-checked access to internal thread pools as a java.security.PrivilegedAction, to be used conveniently with an AccessController.doPrivileged or Security.doPrivileged. |
InProgress | This class provides a blocking mechanism that will not proceed while some operation bounded by this object is in progress. |
InterruptedStatusThread | Common Thread subclass to handle potential loss of interrupted status. |
NewThreadAction | A PrivilegedAction for creating a new thread conveniently with an AccessController.doPrivileged or Security.doPrivileged. |
ReadersWriter | An Object to control the concurrent state. |
ReadyState | Utility class used to prevent access to a service before it has completed its initialization or after it starts to shutdown. |
RetryTask | |
StreamPlugThread | StreamPlugThread is a utility class that "plugs" two streams,
one input stream and one output stream, together by creating a thread that
repeatedly reads any data available from the input stream and writes it to
the output stream. |
TaskManager | A task manager manages a single queue of tasks, and some number of worker threads. |
ThreadPoolPermission | Permission to use internal thread pools (see GetThreadPoolAction). |
WakeupManager | A Queue of timed tasks. |
WakeupManager.ThreadDesc | Description of a future thread. |
WakeupManager.Ticket | A ticket that can be used for cancelling a future task. |
Exception Summary | |
---|---|
ReadersWriter.ConcurrentLockException | InterruptedException transformed to a runtime exception. |
These are utility classes and interfaces for helping with tasks done in multiple threads.
Some utilities (such as InProgress
) provide synchronization
mechanisms. Others, such as TaskManager
, provide utilities
for managing the creation of multiple threads to do independent tasks.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |