| 
 | Oracle | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Timer | |
|---|---|
| commonj.timers | Provides interfaces for commonj timers and listeners. | 
| Uses of Timer in commonj.timers | 
|---|
| Methods in commonj.timers that return Timer | |
|---|---|
|  Timer | TimerManager.schedule(TimerListener listener,
         Date time)Schedules a TimerListener to execute at a specified time. | 
|  Timer | TimerManager.schedule(TimerListener listener,
         Date firstTime,
         long period)Schedules a TimerListener to execute repeatedly using fixed-delay execution after the firstTimeelapses. | 
|  Timer | TimerManager.schedule(TimerListener listener,
         long delay)Schedules a TimerListener to execute once after the specified delay. | 
|  Timer | TimerManager.schedule(TimerListener listener,
         long delay,
         long period)Schedules a TimerListener to execute repeatedly using fixed-delay execution after the specified delay. | 
|  Timer | TimerManager.scheduleAtFixedRate(TimerListener listener,
                    Date firstTime,
                    long period)Schedules a TimerListener to execute repeatedly using fixed-rate execution after the firstTimeelapses. | 
|  Timer | TimerManager.scheduleAtFixedRate(TimerListener listener,
                    long delay,
                    long period)Schedules a TimerListener to execute repeatedly using fixed-rate execution after the specified delay. | 
| Methods in commonj.timers with parameters of type Timer | |
|---|---|
|  void | CancelTimerListener.timerCancel(Timer timer)This is called when timer is cancelled using the Timer.cancel()method. | 
|  void | TimerListener.timerExpired(Timer timer)This method is called when a Timer expires and will run with the J2EE context of the scheduler. | 
|  void | StopTimerListener.timerStop(Timer timer)This is called if the timer is stopped. | 
| 
 | Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||