C# 클래스 Java.Util.Concurrent.ThreadPoolExecutor.DiscardOldestPolicy

A IRejectedExecutionHandler for rejected tasks that discards the oldest unhandled request and then retries IExecutor.Execute(IRunnable), unless the executor is shut down, in which case the task is discarded.
상속: IRejectedExecutionHandler
파일 보기 프로젝트 열기: Elders/Hystrix.NET

공개 메소드들

메소드 설명
RejectedExecution ( IRunnable runnable, ThreadPoolExecutor executor ) : void

Obtains and ignores the next task that the executor would otherwise execute, if one is immediately available, and then retries execution of task runnable, unless the executor is shut down, in which case task runnable is instead discarded.

메소드 상세

RejectedExecution() 공개 메소드

Obtains and ignores the next task that the executor would otherwise execute, if one is immediately available, and then retries execution of task runnable, unless the executor is shut down, in which case task runnable is instead discarded.
public RejectedExecution ( IRunnable runnable, ThreadPoolExecutor executor ) : void
runnable IRunnable /// The task requested to be executed. ///
executor ThreadPoolExecutor /// The attempting to execute this /// task. ///
리턴 void