Package com.lightbend.cinnamon.stopwatch
Class Timekeeper.Stopwatches
- java.lang.Object
-
- com.lightbend.cinnamon.stopwatch.Timekeeper.Stopwatches
-
- Enclosing class:
- Timekeeper
public static class Timekeeper.Stopwatches extends java.lang.Object
Opaque container for suspended stopwatches that is used to transport them across async boundaries.
-
-
Constructor Summary
Constructors Constructor Description Stopwatches(scala.collection.immutable.Map<java.lang.String,Timekeeper.StopwatchTimer> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timekeeper.Stopwatches
add(java.lang.String name, boolean recordActive)
Timekeeper.Stopwatches
add(java.lang.String name, long startTime, long sampling, boolean recordActive)
Timekeeper.Stopwatches
addEmpty(java.lang.String name)
boolean
contains(java.lang.String name)
scala.collection.immutable.Map<java.lang.String,Timekeeper.StopwatchTimer>
data()
boolean
isEmpty()
-
-
-
Constructor Detail
-
Stopwatches
public Stopwatches(scala.collection.immutable.Map<java.lang.String,Timekeeper.StopwatchTimer> data)
-
-
Method Detail
-
data
public scala.collection.immutable.Map<java.lang.String,Timekeeper.StopwatchTimer> data()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.String name)
-
add
public Timekeeper.Stopwatches add(java.lang.String name, boolean recordActive)
-
add
public Timekeeper.Stopwatches add(java.lang.String name, long startTime, long sampling, boolean recordActive)
-
addEmpty
public Timekeeper.Stopwatches addEmpty(java.lang.String name)
-
-