Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.sun.jini.thread

These are utility classes and interfaces for helping with tasks done in multiple threads.

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.
NewThreadAction | A PrivilegedAction for creating a new thread conveniently with an AccessController.doPrivileged or Security.doPrivileged.
ReadersWriter | An Object to control the concurrent state.
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.

## Package com.sun.jini.thread Description

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2004 Sun Microsystems, Inc. All rights reserved