|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy
public static class ThreadPoolExecutor.DiscardOldestPolicy
executor 가 종료 하고 있지 않는 경우에, 가장 낡은 미처리의 요구를 파기해 execute 를 재시행한다, 거부된 태스크의 핸들러입니다. 종료 하고 있는 경우, 태스크는 파기됩니다.
생성자 의 개요 | |
---|---|
ThreadPoolExecutor.DiscardOldestPolicy ()
지정된 executor 의 DiscardOldestPolicy 를 작성합니다. |
메소드의 개요 | |
---|---|
void |
rejectedExecution (Runnable r,
ThreadPoolExecutor e)
executor 가 종료 하지 않는 한, 태스크가 곧바로 이용 가능한 경우에 executor 가 실행해야할 다음의 태스크를 취득해 무시해, 태스크 r 의 실행을 재차 시도합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public ThreadPoolExecutor.DiscardOldestPolicy()
메소드의 상세 |
---|
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
RejectedExecutionHandler
내의 rejectedExecution
r
- 실행되는 것을 요구된 실행 가능한 태스크e
- 이 태스크의 실행을 시도하는 executor
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.