Class AbstractIntervalTimer

java.lang.Object
com.google.appengine.setup.timer.AbstractIntervalTimer
All Implemented Interfaces:
Timer
Direct Known Subclasses:
TimerImpl

public abstract class AbstractIntervalTimer extends Object implements Timer
AbstractIntervalTimer is common base class for Timer implementations that base measure the change in some value between the point where the timer is started and the point where the timer is stopped.

This class is thread-safe.

  • Constructor Details

    • AbstractIntervalTimer

      public AbstractIntervalTimer()
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface Timer
    • stop

      public void stop()
      Specified by:
      stop in interface Timer
    • update

      public void update()
      Specified by:
      update in interface Timer
    • getNanoseconds

      public long getNanoseconds()
      Specified by:
      getNanoseconds in interface Timer