Class ImmediateExecutor

java.lang.Object
repast.simphony.engine.watcher.AbstractTriggerScheduler
repast.simphony.engine.watcher.ImmediateExecutor
All Implemented Interfaces:
TriggerScheduler

public class ImmediateExecutor extends AbstractTriggerScheduler
A trigger scheduler that executes the trigger immediately.
Author:
Nick Collier
  • Constructor Details

    • ImmediateExecutor

      public ImmediateExecutor(repast.simphony.engine.watcher.NotifierTrigger trigger, IBooleanExpression condition, int amtToTrigger, boolean shuffle)
  • Method Details

    • scheduleExecution

      public void scheduleExecution(Notifier2 notifier, Object watchee, Object value)
      Executes the trigger immediately for all watchers managed by the notifier.
      Parameters:
      notifier - the notifier responsible for this particular watch
      watchee - the watchee
      value - the new field value.