Class WorkloadTimer

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

public class WorkloadTimer extends pt.unl.fct.di.novasys.babel.generic.ProtoTimer
Fires at the configured paint rate to make CanvasApp generate one random paint operation in headless workload mode (see CanvasApp.uponWorkloadTimer). Set up with setupPeriodicTimer(...) when canvas.workload.enabled=true; this is how the experiments harness drives load without the web UI.

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

    • WorkloadTimer

      public WorkloadTimer()
  • 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