| java.lang.Object org.cougaar.mlm.plugin.perturbation.PerturbationScheduler
PerturbationScheduler | public class PerturbationScheduler implements Runnable(Code) | | The PerturbationScheduler class schedules the PerturbationNodes
(or jobs) to be run as determined based on the Scenario Time.
|
Method Summary | |
public void | cancel(PerturbationNode job) Cancels the perturbation. | public void | configureBackup(PerturbationNode job) | public void | execute(PerturbationNode jobNode) | public void | executeAt(PerturbationNode jobNode, Date when) | public void | executeAtAndRepeat(PerturbationNode jobNode, Date when, long repeat) | public void | executeAtAndRepeat(PerturbationNode jobNode, Date when, long repeat, int count) | public void | executeAtNextDOW(PerturbationNode jobNode, Date when, int DOW) | public void | executeIn(PerturbationNode jobNode, long millis) | public void | executeInAndRepeat(PerturbationNode jobNode, long millis, long repeat) | public void | executeInAndRepeat(PerturbationNode jobNode, long millis, long repeat, int count) | public synchronized void | run() Starts and runs the Perturbation Scheduling thread. |
DAILY | final public static long DAILY(Code) | | |
DAYS_PER_WEEK | final public static long DAYS_PER_WEEK(Code) | | |
FOREVER | final public static int FOREVER(Code) | | |
HOURLY | final public static long HOURLY(Code) | | |
HOURS_PER_DAY | final public static long HOURS_PER_DAY(Code) | | |
MAX_CAPACITY | final public static int MAX_CAPACITY(Code) | | |
MILLI | final public static long MILLI(Code) | | |
MILLISECONDS | final public static long MILLISECONDS(Code) | | |
MINS_PER_HOUR | final public static long MINS_PER_HOUR(Code) | | |
MONTHLY | final public static long MONTHLY(Code) | | |
ONCE | final public static int ONCE(Code) | | |
SECS_PER_MIN | final public static long SECS_PER_MIN(Code) | | |
WEEKLY | final public static long WEEKLY(Code) | | |
YEARLY | final public static long YEARLY(Code) | | |
PerturbationScheduler | public PerturbationScheduler(Vector perturbations)(Code) | | Parameters: perturbations - The perturbations to be scheduled |
executeInAndRepeat | public void executeInAndRepeat(PerturbationNode jobNode, long millis, long repeat, int count)(Code) | | |
run | public synchronized void run()(Code) | | Starts and runs the Perturbation Scheduling thread.
|
|
|