Package com.lightbend.cinnamon.stopwatch
Class Timekeeper.RemoteActiveStopwatch
- java.lang.Object
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.RemoteStopwatch
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.RemoteActiveStopwatch
-
- Enclosing class:
- Timekeeper
public static final class Timekeeper.RemoteActiveStopwatch extends Timekeeper.RemoteStopwatch
INTERNAL APIAn active stopwatch that originated on a remote node (records both total elapsed time and active time).
-
-
Constructor Summary
Constructors Constructor Description RemoteActiveStopwatch(long startTime, long resumeTime, long totalActive, long sampling, java.util.UUID originalStopwatch, long originalStart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longactiveTime(long suspendTime)longoriginalStart()java.util.UUIDoriginalStopwatch()longsampling()longstartTime()Timekeeper.StopwatchTimersuspend(long suspendTime)-
Methods inherited from class com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
resume
-
-
-
-
Method Detail
-
activeTime
public long activeTime(long suspendTime)
- Overrides:
activeTimein classTimekeeper.StopwatchTimer
-
originalStart
public long originalStart()
- Specified by:
originalStartin classTimekeeper.RemoteStopwatch
-
originalStopwatch
public java.util.UUID originalStopwatch()
- Specified by:
originalStopwatchin classTimekeeper.RemoteStopwatch
-
sampling
public long sampling()
- Specified by:
samplingin classTimekeeper.StopwatchTimer
-
startTime
public long startTime()
- Specified by:
startTimein classTimekeeper.StopwatchTimer
-
suspend
public Timekeeper.StopwatchTimer suspend(long suspendTime)
- Overrides:
suspendin classTimekeeper.StopwatchTimer
-
-