Class Timer

java.lang.Object
ca.uqac.lif.cep.diagnostics.Timer
All Implemented Interfaces:
Runnable

public class Timer extends Object implements Runnable
Timer that pushes the contents of m_packedEvents every m_outputInterval milliseconds.
  • Field Details

    • m_run

      protected volatile boolean m_run
    • m_interval

      protected final long m_interval
    • m_callback

      protected DiagnosticsCallback m_callback
  • Constructor Details

  • Method Details

    • stop

      public void stop()
    • run

      public void run()
      Specified by:
      run in interface Runnable