|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
RejectedExecutionHandler 를 사용하고 있는 패키지 | |
---|---|
java.util.concurrent | 병행 프로그래밍으로 자주(잘) 사용되는 유틸리티 클래스입니다. |
java.util.concurrent 에서의 RejectedExecutionHandler 의 사용 |
---|
RejectedExecutionHandler 을 구현하고 있는 java.util.concurrent 의 클래스 | |
---|---|
static class |
ThreadPoolExecutor.AbortPolicy
RejectedExecutionException 를 throw 하는 거부된 태스크의 핸들러입니다. |
static class |
ThreadPoolExecutor.CallerRunsPolicy
executor 가 종료 하고 있지 않는 경우에,execute 메소드의 호출로 거부된 태스크를 직접 실행한다, 거부된 태스크의 핸들러입니다. |
static class |
ThreadPoolExecutor.DiscardOldestPolicy
executor 가 종료 하고 있지 않는 경우에, 가장 낡은 미처리의 요구를 파기해 execute 를 재시행한다, 거부된 태스크의 핸들러입니다. |
static class |
ThreadPoolExecutor.DiscardPolicy
거부된 태스크를 통지없이 파기하는 거부된 태스크의 핸들러입니다. |
RejectedExecutionHandler 를 돌려주는 java.util.concurrent 의 메소드 | |
---|---|
RejectedExecutionHandler |
ThreadPoolExecutor. getRejectedExecutionHandler ()
실행 가능하지 않은 태스크의 현재의 핸들러를 돌려줍니다. |
RejectedExecutionHandler 형의 파라미터를 가지는 java.util.concurrent 의 메소드 | |
---|---|
void |
ThreadPoolExecutor. setRejectedExecutionHandler (RejectedExecutionHandler handler)
실행 가능하지 않은 태스크의 새로운 핸들러를 설정합니다. |
RejectedExecutionHandler 형의 파라미터를 가지는 java.util.concurrent 의 생성자 | |
---|---|
ScheduledThreadPoolExecutor (int corePoolSize,
RejectedExecutionHandler handler)
지정된 초기 파라미터를 사용해, 새로운 ScheduledThreadPoolExecutor 를 작성합니다. |
|
ScheduledThreadPoolExecutor (int corePoolSize,
ThreadFactory threadFactory,
RejectedExecutionHandler handler)
지정된 초기 파라미터를 사용해, 새로운 ScheduledThreadPoolExecutor 를 작성합니다. |
|
ThreadPoolExecutor (int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue <Runnable > workQueue,
RejectedExecutionHandler handler)
지정된 초기 파라미터, 및 디폴트의 thread 팩토리를 사용해, 새로운 ThreadPoolExecutor 를 작성합니다. |
|
ThreadPoolExecutor (int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue <Runnable > workQueue,
ThreadFactory threadFactory,
RejectedExecutionHandler handler)
지정된 초기 파라미터를 사용해, 새로운 ThreadPoolExecutor 를 작성합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.