|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
ScheduledFuture 를 사용하고 있는 패키지 | |
---|---|
java.util.concurrent | 병행 프로그래밍으로 자주(잘) 사용되는 유틸리티 클래스입니다. |
java.util.concurrent 에서의 ScheduledFuture 의 사용 |
---|
java.util.concurrent 에서의 ScheduledFuture 의 서브 인터페이스 | |
---|---|
interface |
RunnableScheduledFuture<V>
Runnable 인 ScheduledFuture 입니다. |
ScheduledFuture 를 돌려주는 java.util.concurrent 의 메소드 | ||
---|---|---|
|
ScheduledThreadPoolExecutor. schedule (Callable <V> callable,
long delay,
TimeUnit unit)
|
|
|
ScheduledExecutorService. schedule (Callable <V> callable,
long delay,
TimeUnit unit)
지정된 지연 후에 유효하게 되는 ScheduledFuture 를 작성해 실행합니다. |
|
ScheduledFuture <? > |
ScheduledThreadPoolExecutor. schedule (Runnable command,
long delay,
TimeUnit unit)
|
|
ScheduledFuture <? > |
ScheduledExecutorService. schedule (Runnable command,
long delay,
TimeUnit unit)
지정된 지연 후에 유효하게 되는 단발적인 액션을 작성해 실행합니다. |
|
ScheduledFuture <? > |
ScheduledThreadPoolExecutor. scheduleAtFixedRate (Runnable command,
long initialDelay,
long period,
TimeUnit unit)
|
|
ScheduledFuture <? > |
ScheduledExecutorService. scheduleAtFixedRate (Runnable command,
long initialDelay,
long period,
TimeUnit unit)
지정된 초기 지연의 경과후에 처음 유효하게 되어, 그 후는 지정된 기간 마다 유효하게 되는 정기적인 액션을 작성해 실행합니다. |
|
ScheduledFuture <? > |
ScheduledThreadPoolExecutor. scheduleWithFixedDelay (Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
|
|
ScheduledFuture <? > |
ScheduledExecutorService. scheduleWithFixedDelay (Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
지정된 초기 지연의 경과후에 처음 유효하게 되어, 그 후는 실행의 종료후부터 다음의 개시까지의 지정의 지연 마다 유효하게 되는 정기적인 액션을 작성해 실행합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.