Class RecoveryState.Timer

    • Field Detail

      • startTime

        protected long startTime
      • startNanoTime

        protected long startNanoTime
      • time

        protected long time
      • stopTime

        protected long stopTime
    • Constructor Detail

      • Timer

        public Timer()
    • Method Detail

      • start

        public void start()
      • startTime

        public long startTime()
        Returns start time in millis
      • time

        public long time()
        Returns elapsed time in millis, or 0 if timer was not started
      • stopTime

        public long stopTime()
        Returns stop time in millis
      • stop

        public void stop()
      • reset

        public void reset()