public abstract static class Timekeeper.StopwatchTimer
extends java.lang.Object
A stopwatch timer.
Constructor and Description |
---|
StopwatchTimer() |
Modifier and Type | Method and Description |
---|---|
long |
activeTime(long suspendTime) |
Timekeeper.StopwatchTimer |
resume(long resumeTime) |
abstract long |
sampling() |
abstract long |
startTime() |
Timekeeper.StopwatchTimer |
suspend(long suspendTime) |
public abstract long startTime()
public abstract long sampling()
public long activeTime(long suspendTime)
public Timekeeper.StopwatchTimer suspend(long suspendTime)
public Timekeeper.StopwatchTimer resume(long resumeTime)
Cinnamon API. Copyright (c) 2015–2021 Lightbend.