JavaTM Platform
Standard Ed. 6

인터페이스
java.util.concurrent.ScheduledFuture 의 사용

ScheduledFuture 를 사용하고 있는 패키지
java.util.concurrent 병행 프로그래밍으로 자주(잘) 사용되는 유틸리티 클래스입니다.  
 

java.util.concurrent 에서의 ScheduledFuture 의 사용
 

java.util.concurrent 에서의 ScheduledFuture 의 서브 인터페이스
 interface RunnableScheduledFuture<V>
          RunnableScheduledFuture 입니다.
 

ScheduledFuture 를 돌려주는 java.util.concurrent 의 메소드
<V> ScheduledFuture <V>
ScheduledThreadPoolExecutor. schedule (Callable <V> callable, long delay, TimeUnit  unit)
           
<V> ScheduledFuture <V>
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

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.