Class ControlTimer

java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoTimer
protocols.apps.canvas.timers.ControlTimer
All Implemented Interfaces:
Cloneable

public class ControlTimer extends pt.unl.fct.di.novasys.babel.generic.ProtoTimer
Polls the shared control file in orchestrator-coordinated workload mode (see CanvasApp.uponControlTimer). The experiment script lets the whole system join and settle, then writes RUN to begin the paint workload on every node at once, and later STOP to cease — so painting starts only once ALL nodes are present (a node's own view being stable is not enough; late joiners would miss its early ops). Set up with setupPeriodicTimer(...) when canvas.workload.controlFile is configured; otherwise the node uses the legacy single start-delay timer.

Stateless, so clone() returns this — the Babel convention.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    pt.unl.fct.di.novasys.babel.generic.ProtoTimer
     

    Methods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoTimer

    getId

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ControlTimer

      public ControlTimer()
  • Method Details

    • clone

      public pt.unl.fct.di.novasys.babel.generic.ProtoTimer clone()
      Specified by:
      clone in class pt.unl.fct.di.novasys.babel.generic.ProtoTimer