org.mbari.siam.core
Class ScheduleTimerTask

java.lang.Object
  extended by org.mbari.siam.core.SiamTimerTask
      extended by org.mbari.siam.core.ScheduleTimerTask
All Implemented Interfaces:
java.lang.Runnable

public class ScheduleTimerTask
extends SiamTimerTask

The ScheduleTimerTask is the SiamTimerTask managed by each ScheduleTask. It sets things in motion when the timer goes off.


Constructor Summary
ScheduleTimerTask()
           
ScheduleTimerTask(ScheduleTask owner)
           
 
Method Summary
 void run()
          Action Performed on Timer expiration
 void setOwner(ScheduleTask owner)
          Set _owner member
 long sleepingUntil()
          If executing thread is sleeping, return time (msec since epoch) at which task will resume.
 
Methods inherited from class org.mbari.siam.core.SiamTimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleTimerTask

public ScheduleTimerTask()

ScheduleTimerTask

public ScheduleTimerTask(ScheduleTask owner)
Method Detail

setOwner

public void setOwner(ScheduleTask owner)
Set _owner member


run

public void run()
Action Performed on Timer expiration

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class SiamTimerTask

sleepingUntil

public long sleepingUntil()
If executing thread is sleeping, return time (msec since epoch) at which task will resume. If executing thread is not sleeping, return 0.



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.