言語

ThreadPoolExecutor.DiscardOldestPolicy.RejectedExecution メソッド

定義

Executor がすぐに使用可能な場合に実行する次のタスクを取得して無視し、Executor がシャットダウンされない限りタスク r の実行を再試行します。その場合、タスク r は破棄されます。

[Android.Runtime.Register("rejectedExecution", "(Ljava/lang/Runnable;Ljava/util/concurrent/ThreadPoolExecutor;)V", "GetRejectedExecution_Ljava_lang_Runnable_Ljava_util_concurrent_ThreadPoolExecutor_Handler")]
public virtual void RejectedExecution(Java.Lang.IRunnable? r, Java.Util.Concurrent.ThreadPoolExecutor? e);
[<Android.Runtime.Register("rejectedExecution", "(Ljava/lang/Runnable;Ljava/util/concurrent/ThreadPoolExecutor;)V", "GetRejectedExecution_Ljava_lang_Runnable_Ljava_util_concurrent_ThreadPoolExecutor_Handler")>]
abstract member RejectedExecution : Java.Lang.IRunnable * Java.Util.Concurrent.ThreadPoolExecutor -> unit
override this.RejectedExecution : Java.Lang.IRunnable * Java.Util.Concurrent.ThreadPoolExecutor -> unit

パラメーター

r
IRunnable

実行を要求された実行可能タスク

e
ThreadPoolExecutor

このタスクを実行しようとしている Executor

実装

属性

注釈

Executor がすぐに使用可能な場合に実行する次のタスクを取得して無視し、Executor がシャットダウンされない限りタスク r の実行を再試行します。その場合、タスク r は破棄されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象