Interface TimerGauge.StartStopListener

All Known Implementing Classes:
PausableRelativeClock
Enclosing class:
TimerGauge

public static interface TimerGauge.StartStopListener
Listens for TimerGauge.markStart() and TimerGauge.markEnd() events.

Beware! As it is right now, TimerGauge.StartStopListener is notified under the TimerGauge's lock, so those callbacks should be very short, without long call stacks that acquire more locks. Otherwise, a potential for deadlocks can be introduced.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
  • Method Details

    • markStart

      void markStart()
    • markEnd

      void markEnd()