CommonJ API

Uses of Interface
commonj.timers.Timer

Packages that use Timer
commonj.timers This package has the timer related function. 
 

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 firstTime elapses.
 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 firstTime elapses.
 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 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.
 


CommonJ API

Copyright © 2007-2011 Fabric3 Project. All Rights Reserved.