Package com.lightbend.cinnamon.stopwatch
Class Timekeeper.StartedStopwatch
- java.lang.Object
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.StartedStopwatch
-
- Enclosing class:
- Timekeeper
public static final class Timekeeper.StartedStopwatch extends Timekeeper.StopwatchTimer
INTERNAL APIA started stopwatch (only records total elapsed time, no active time).
-
-
Constructor Summary
Constructors Constructor Description StartedStopwatch(long startTime, long sampling)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
sampling()
long
startTime()
-
Methods inherited from class com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
activeTime, resume, suspend
-
-
-
-
Method Detail
-
startTime
public long startTime()
- Specified by:
startTime
in classTimekeeper.StopwatchTimer
-
sampling
public long sampling()
- Specified by:
sampling
in classTimekeeper.StopwatchTimer
-
-