站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Package java.util.concurrent (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Package
java.util.concurrent

Packages that use java.util.concurrent
java.util.concurrent Utility classes commonly useful in concurrent programming. 
java.util.concurrent.locks Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. 
 

Classes in java.util.concurrent used by java.util.concurrent
AbstractExecutorService
          Provides default implementation of ExecutorService execution methods.
BlockingQueue
          A Queue that additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the queue when storing an element.
BrokenBarrierException
          Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.
Callable
          A task that returns a result and may throw an exception.
CompletionService
          A service that decouples the production of new asynchronous tasks from the consumption of the results of completed tasks.
ConcurrentMap
          A Map providing additional atomic putIfAbsent, remove, and replace methods.
Delayed
          A mix-in style interface for marking objects that should be acted upon after a given delay.
ExecutionException
          Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.
Executor
          An object that executes submitted Runnable tasks.
ExecutorService
          An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks.
Future
          A Future represents the result of an asynchronous computation.
RejectedExecutionHandler
          A handler for tasks that cannot be executed by a ThreadPoolExecutor.
ScheduledExecutorService
          An ExecutorService that can schedule commands to run after a given delay, or to execute periodically.
ScheduledFuture
          A delayed result-bearing action that can be cancelled.
ThreadFactory
          An object that creates new threads on demand.
ThreadPoolExecutor
          An ExecutorService that executes each submitted task using one of possibly several pooled threads, normally configured using Executors factory methods.
TimeoutException
          Exception thrown when a blocking operation times out.
TimeUnit
          A TimeUnit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units.
 

Classes in java.util.concurrent used by java.util.concurrent.locks
TimeUnit
          A TimeUnit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.