Package com.lightbend.cinnamon.stopwatch
Class Timekeeper.StopwatchTimer
- java.lang.Object
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
-
- Direct Known Subclasses:
Timekeeper.ActiveStopwatch
,Timekeeper.RemoteStopwatch
,Timekeeper.StartedStopwatch
,Timekeeper.SuspendedStopwatch
- Enclosing class:
- Timekeeper
public abstract static class Timekeeper.StopwatchTimer extends java.lang.Object
INTERNAL APIA stopwatch timer.
-
-
Constructor Summary
Constructors Constructor Description StopwatchTimer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description long
activeTime(long suspendTime)
Timekeeper.StopwatchTimer
resume(long resumeTime)
abstract long
sampling()
abstract long
startTime()
Timekeeper.StopwatchTimer
suspend(long suspendTime)
-
-
-
Method Detail
-
startTime
public abstract long startTime()
-
sampling
public abstract long sampling()
-
activeTime
public long activeTime(long suspendTime)
-
suspend
public Timekeeper.StopwatchTimer suspend(long suspendTime)
-
resume
public Timekeeper.StopwatchTimer resume(long resumeTime)
-
-