| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BlockingQueue | |
|---|---|
| java.util.concurrent | Utility classes commonly useful in concurrent programming. | 
| Uses of BlockingQueue in java.util.concurrent | 
|---|
| Classes in java.util.concurrent that implement BlockingQueue | |
|---|---|
 class | 
ArrayBlockingQueue<E>
A bounded blocking queue backed by an array.  | 
 class | 
DelayQueue<E extends Delayed>
An unbounded blocking queue of Delayed elements, in which an element can only be taken when its delay has expired.  | 
 class | 
LinkedBlockingQueue<E>
An optionally-bounded blocking queue based on linked nodes.  | 
 class | 
PriorityBlockingQueue<E>
An unbounded blocking queue that uses the same ordering rules as class PriorityQueue and supplies
 blocking retrieval operations. | 
 class | 
SynchronousQueue<E>
A blocking queue in which each put must wait for a take, and vice versa.  | 
| Methods in java.util.concurrent that return BlockingQueue | |
|---|---|
 BlockingQueue<Runnable> | 
ScheduledThreadPoolExecutor.getQueue()
Returns the task queue used by this executor.  | 
 BlockingQueue<Runnable> | 
ThreadPoolExecutor.getQueue()
Returns the task queue used by this executor.  | 
| Constructors in java.util.concurrent with parameters of type BlockingQueue | |
|---|---|
ExecutorCompletionService(Executor executor,
                          BlockingQueue<Future<V>> completionQueue)
Creates an ExecutorCompletionService using the supplied executor for base task execution and the supplied queue as its completion queue.  | 
|
ThreadPoolExecutor(int corePoolSize,
                   int maximumPoolSize,
                   long keepAliveTime,
                   TimeUnit unit,
                   BlockingQueue<Runnable> workQueue)
Creates a new ThreadPoolExecutor with the given initial parameters and default thread factory and handler.  | 
|
ThreadPoolExecutor(int corePoolSize,
                   int maximumPoolSize,
                   long keepAliveTime,
                   TimeUnit unit,
                   BlockingQueue<Runnable> workQueue,
                   RejectedExecutionHandler handler)
Creates a new ThreadPoolExecutor with the given initial parameters.  | 
|
ThreadPoolExecutor(int corePoolSize,
                   int maximumPoolSize,
                   long keepAliveTime,
                   TimeUnit unit,
                   BlockingQueue<Runnable> workQueue,
                   ThreadFactory threadFactory)
Creates a new ThreadPoolExecutor with the given initial parameters.  | 
|
ThreadPoolExecutor(int corePoolSize,
                   int maximumPoolSize,
                   long keepAliveTime,
                   TimeUnit unit,
                   BlockingQueue<Runnable> workQueue,
                   ThreadFactory threadFactory,
                   RejectedExecutionHandler handler)
Creates a new ThreadPoolExecutor with the given initial parameters.  | 
|
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.