|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.cougaar.planning.ldm.trigger.TriggerTimeBasedMonitor
org.cougaar.tutorial.booksonline.util.assessor.WakeAfterMonitor
Description: WakeAfterMonitor A TriggerTimeBasedMonitor is a kind of
monitor that generates an interrupt at regular intervals to check for a
particular condition on a fixed set of objects Uses system time
Notes:
-
| Constructor Summary | |
WakeAfterMonitor(long msec_interval,
java.lang.Object[] objects,
org.cougaar.planning.plugin.legacy.PluginDelegate pID)
Description: Constructor to build the object Notes: |
|
| Method Summary | |
java.lang.Object[] |
getAssociatedObjects()
Description: getAssociatedObjects - get the trigger objects Notes: |
long |
getMsecInterval()
Description: getMsecInterval - get the timing interval Notes: |
long |
getRemainingTime()
Description: getRemainingTime Notes: |
void |
IndicateRan(org.cougaar.planning.plugin.legacy.PluginDelegate pid)
Description: IndicateRan Notes: |
boolean |
ReadyToRun(org.cougaar.planning.plugin.legacy.PluginDelegate pid)
Description: ReadyToRun Notes: |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WakeAfterMonitor(long msec_interval,
java.lang.Object[] objects,
org.cougaar.planning.plugin.legacy.PluginDelegate pID)
msec_interval - long interval to checkobjects - Object[] array of objects for this triggerpID - PlugInDelegate | Method Detail |
public long getMsecInterval()
public java.lang.Object[] getAssociatedObjects()
getAssociatedObjects in interface org.cougaar.planning.ldm.trigger.TriggerMonitorpublic boolean ReadyToRun(org.cougaar.planning.plugin.legacy.PluginDelegate pid)
ReadyToRun in interface org.cougaar.planning.ldm.trigger.TriggerMonitorpid - PlugInDelegate
public void IndicateRan(org.cougaar.planning.plugin.legacy.PluginDelegate pid)
IndicateRan in interface org.cougaar.planning.ldm.trigger.TriggerMonitorpid - PlugInDelegatepublic long getRemainingTime()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||