Home » openjdk-7 » javax » management » timer » [javadoc | source]
javax.management.timer
class: TimerAlarmClock [javadoc | source]
java.lang.Object
   java.util.TimerTask
      javax.management.timer.TimerAlarmClock

All Implemented Interfaces:
    Runnable

TimerAlarmClock inner class: This class provides a simple implementation of an alarm clock MBean. The aim of this MBean is to set up an alarm which wakes up the timer every timeout (fixed-delay) or at the specified date (fixed-rate).
Field Summary
 Timer listener     
 long timeout     
 Date next     
Fields inherited from java.util.TimerTask:
lock,  state,  VIRGIN,  SCHEDULED,  EXECUTED,  CANCELLED,  nextExecutionTime,  period
Constructor:
 public TimerAlarmClock(Timer listener,
    long timeout) 
 public TimerAlarmClock(Timer listener,
    Date next) 
Method from javax.management.timer.TimerAlarmClock Summary:
run
Methods from java.util.TimerTask:
cancel,   run,   scheduledExecutionTime
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.management.timer.TimerAlarmClock Detail:
 public  void run() 
    This method is called by the timer when it is started.