- java.lang.Object
- 
- java.util.concurrent.ThreadPoolExecutor.AbortPolicy
 
- 
- すべての実装されたインタフェース:
- RejectedExecutionHandler
 - 含まれているクラス:
- ThreadPoolExecutor
 
 public static class ThreadPoolExecutor.AbortPolicy extends Object implements RejectedExecutionHandler RejectedExecutionExceptionをスローする拒否されたタスクのハンドラです。 これはThreadPoolExecutorとScheduledThreadPoolExecutorのデフォルトのハンドラです。
- 
- 
メソッドの詳細- 
rejectedExecutionpublic void rejectedExecution(Runnable r, ThreadPoolExecutor e) 常にRejectedExecutionExceptionをスローします。- 定義:
- rejectedExecution、インタフェース:- RejectedExecutionHandler
- パラメータ:
- r- 実行されることを要求された実行可能なタスク
- e- このタスクの実行を試みるexecutor
- 例外:
- RejectedExecutionException- 常時
 
 
- 
 
-