Class TimerTask
package java.util
java.lang.Object | +--java.util.TimerTaskAll Implemented Interfaces:
Runnable
implements Runnable:
A task that can be scheduled for one-time or repeated execution by a
Timer.
Since:
- 1.3
See Also:
Timer
생성자 요약
섹션 제목: “생성자 요약”protected TimerTask ()
메서드 요약
섹션 제목: “메서드 요약”boolean cancel ()abstract void run ()— Thread.start에 의해 run메소스가 호출된다.long scheduledExecutionTime ()
생성자 상세
섹션 제목: “생성자 상세”TimerTask
섹션 제목: “TimerTask”protected TimerTask()run
섹션 제목: “run”public abstract void run()- Description copied from interface:
Runnable
Specified by:
runin interfaceRunnable
cancel
섹션 제목: “cancel”public boolean cancel()scheduledExecutionTime
섹션 제목: “scheduledExecutionTime”public long scheduledExecutionTime()```## 메서드 상세
### run
```javapublic abstract void run()- Description copied from interface:
Runnable
Specified by:
runin interfaceRunnable
cancel
섹션 제목: “cancel”public boolean cancel()scheduledExecutionTime
섹션 제목: “scheduledExecutionTime”public long scheduledExecutionTime()AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com