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 long
activeTime(long suspendTime)
long
originalStart()
java.util.UUID
originalStopwatch()
long
sampling()
long
startTime()
Timekeeper.StopwatchTimer
suspend(long suspendTime)
-
Methods inherited from class com.lightbend.cinnamon.stopwatch.Timekeeper.StopwatchTimer
resume
-
-
-
-
Method Detail
-
activeTime
public long activeTime(long suspendTime)
- Overrides:
activeTime
in classTimekeeper.StopwatchTimer
-
originalStart
public long originalStart()
- Specified by:
originalStart
in classTimekeeper.RemoteStopwatch
-
originalStopwatch
public java.util.UUID originalStopwatch()
- Specified by:
originalStopwatch
in classTimekeeper.RemoteStopwatch
-
sampling
public long sampling()
- Specified by:
sampling
in classTimekeeper.StopwatchTimer
-
startTime
public long startTime()
- Specified by:
startTime
in classTimekeeper.StopwatchTimer
-
suspend
public Timekeeper.StopwatchTimer suspend(long suspendTime)
- Overrides:
suspend
in classTimekeeper.StopwatchTimer
-
-