public static final class Timekeeper.RemoteSuspendedStopwatch extends Timekeeper.RemoteStopwatch
A suspended stopwatch that originated on a remote node (records both total elapsed time and active time).
| Constructor and Description |
|---|
RemoteSuspendedStopwatch(long startTime,
long totalActive,
long sampling,
java.util.UUID originalStopwatch,
long originalStart) |
| Modifier and Type | Method and Description |
|---|---|
long |
activeTime(long suspendTime) |
long |
originalStart() |
java.util.UUID |
originalStopwatch() |
Timekeeper.StopwatchTimer |
resume(long resumeTime) |
long |
sampling() |
long |
startTime() |
suspendpublic RemoteSuspendedStopwatch(long startTime,
long totalActive,
long sampling,
java.util.UUID originalStopwatch,
long originalStart)
public long activeTime(long suspendTime)
activeTime in class Timekeeper.StopwatchTimerpublic long originalStart()
originalStart in class Timekeeper.RemoteStopwatchpublic java.util.UUID originalStopwatch()
originalStopwatch in class Timekeeper.RemoteStopwatchpublic Timekeeper.StopwatchTimer resume(long resumeTime)
resume in class Timekeeper.StopwatchTimerpublic long sampling()
sampling in class Timekeeper.StopwatchTimerpublic long startTime()
startTime in class Timekeeper.StopwatchTimerCinnamon API. Copyright (c) 2015–2021 Lightbend.