Package com.lightbend.cinnamon.stopwatch
Class Timekeeper.RemoteSuspendedStopwatch
- java.lang.Object
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.RemoteStopwatch
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.RemoteSuspendedStopwatch
-
- Enclosing class:
- Timekeeper
public static final class Timekeeper.RemoteSuspendedStopwatch extends Timekeeper.RemoteStopwatch
INTERNAL APIA suspended stopwatch that originated on a remote node (records both total elapsed time and active time).
-
-
Constructor Summary
Constructors Constructor Description RemoteSuspendedStopwatch(long startTime, 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()Timekeeper.StopwatchTimerresume(long resumeTime)longsampling()longstartTime()-
Methods inherited from class com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
suspend
-
-
-
-
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
-
resume
public Timekeeper.StopwatchTimer resume(long resumeTime)
- Overrides:
resumein classTimekeeper.StopwatchTimer
-
sampling
public long sampling()
- Specified by:
samplingin classTimekeeper.StopwatchTimer
-
startTime
public long startTime()
- Specified by:
startTimein classTimekeeper.StopwatchTimer
-
-