Uses of Class
java.util.TimerTask
Packages that useTimerTask Package Description java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.Uses ofTimerTask injava.util
Methods injava.util with parameters of typeTimerTask Modifier and Type Method Description voidTimer. schedule(TimerTask task, long delay)Schedules the specified task for execution after the specified delay.voidTimer. schedule(TimerTask task, long delay, long period)Schedules the specified task for repeatedfixed-delay execution, beginning after the specified delay.voidTimer. schedule(TimerTask task,Date time)Schedules the specified task for execution at the specified time.voidTimer. schedule(TimerTask task,Date firstTime, long period)Schedules the specified task for repeatedfixed-delay execution, beginning at the specified time.voidTimer. scheduleAtFixedRate(TimerTask task, long delay, long period)Schedules the specified task for repeatedfixed-rate execution, beginning after the specified delay.voidTimer. scheduleAtFixedRate(TimerTask task,Date firstTime, long period)Schedules the specified task for repeatedfixed-rate execution, beginning at the specified time.