Class ScheduleTimerTask

  extended by org.mbari.siam.core.SiamTimerTask
      extended by org.mbari.siam.core.ScheduleTimerTask
All Implemented Interfaces:

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(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


public ScheduleTimerTask()


public ScheduleTimerTask(ScheduleTask owner)
Method Detail


public void setOwner(ScheduleTask owner)
Set _owner member


public void run()
Action Performed on Timer expiration

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


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.