JavaTM Platform
Standard Ed. 6

java.util.concurrent
クラス ThreadPoolExecutor.DiscardPolicy

java.lang.Object
  上位を拡張 java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
すべての実装されたインタフェース:
RejectedExecutionHandler
含まれているクラス:
ThreadPoolExecutor

public static class ThreadPoolExecutor.DiscardPolicy
extends Object
implements RejectedExecutionHandler

拒否されたタスクを通知なしで破棄する拒否されたタスクのハンドラです。


コンストラクタの概要
ThreadPoolExecutor.DiscardPolicy()
          DiscardPolicy を作成します。
 
メソッドの概要
 void rejectedExecution(Runnable r, ThreadPoolExecutor e)
          何も実行しません。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ThreadPoolExecutor.DiscardPolicy

public ThreadPoolExecutor.DiscardPolicy()
DiscardPolicy を作成します。

メソッドの詳細

rejectedExecution

public void rejectedExecution(Runnable r,
                              ThreadPoolExecutor e)
何も実行しません。これは、破棄するタスク r の効果を保持します。

定義:
インタフェース RejectedExecutionHandler 内の rejectedExecution
パラメータ:
r - 実行されることを要求された実行可能なタスク
e - このタスクの実行を試みる executor

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。