| パッケージ | 説明 | 
|---|---|
| java.util.concurrent | 並行プログラミングでよく使用されるユーティリティ・クラスです。 | 
| 修飾子と型 | インタフェース | 説明 | 
|---|---|---|
| interface  | BlockingDeque<E>要素の取得時に両端キューが空でなくなるまで待機したり、要素の格納時に両端キュー内に空きが生じるまで待機するブロック操作を追加でサポートしたりする Dequeです。 | |
| interface  | TransferQueue<E>コンシューマが要素を受け取るまでプロデューサが待機する BlockingQueue。 | 
| 修飾子と型 | クラス | 説明 | 
|---|---|---|
| class  | ArrayBlockingQueue<E>配列に連動する、制限付きのブロッキング・キューです。 | |
| class  | DelayQueue<E extends Delayed>Delayed要素の制限なしの ブロッキング・キューで、遅延時間が経過後にのみ、要素を取得できます。 | |
| class  | LinkedBlockingDeque<E>リンク・ノードに基づく、オプションで制限付きになるブロッキング両端キューです。 | |
| class  | LinkedBlockingQueue<E>リンク・ノードに基づく、オプションで制限付きになるブロッキング・キューです。 | |
| class  | LinkedTransferQueue<E>リンク・ノードに基づく、制限なしの TransferQueueです。 | |
| class  | PriorityBlockingQueue<E>クラス PriorityQueueと同じ順序付けルールを使用するとともにブロッキング取得オペレーションを提供する、制限なしのブロッキング・キューです。 | |
| class  | SynchronousQueue<E>各挿入オペレーションが別のスレッドによる対応する削除オペレーションを待機する必要がある(およびその逆の) ブロッキング・キューです。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| BlockingQueue<Runnable> | ScheduledThreadPoolExecutor. getQueue()このexecutorで使用するタスク・キューを返します。 | |
| BlockingQueue<Runnable> | ThreadPoolExecutor. getQueue()このexecutorで使用するタスク・キューを返します。 | 
| コンストラクタ | 説明 | 
|---|---|
| ExecutorCompletionService(Executor executor, BlockingQueue<Future<V>> completionQueue)基本タスクの実行用に指定されたexecutorを使用し、完了キューとして指定されたキューを使用して、ExecutorCompletionServiceを作成します。 | |
| ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue)指定された初期パラメータ、およびデフォルトのスレッド・ファクトリと拒否された実行ハンドラを使用して、新しい ThreadPoolExecutorを作成します。 | |
| ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, RejectedExecutionHandler handler)指定された初期パラメータ、およびデフォルトのスレッド・ファクトリを使用して、新しい ThreadPoolExecutorを作成します。 | |
| ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory)指定された初期パラメータ、およびデフォルトの拒否された実行ハンドラを使用して、新しい ThreadPoolExecutorを作成します。 | |
| ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler)指定された初期パラメータを使って、新しい ThreadPoolExecutorを作成します。 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。