Package io.debezium.util
Class Stopwatch.SingleDuration
java.lang.Object
io.debezium.util.Stopwatch.BaseDurations
io.debezium.util.Stopwatch.SingleDuration
- All Implemented Interfaces:
Stopwatch.Durations
- Enclosing class:
- Stopwatch
A
Stopwatch.Durations
implementation that only remembers the most recently added
duration.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Get the statistics for the durations in nanoseconds.Methods inherited from class io.debezium.util.Stopwatch.BaseDurations
toString
-
Field Details
-
stats
-
-
Constructor Details
-
SingleDuration
private SingleDuration()
-
-
Method Details
-
statistics
Description copied from interface:Stopwatch.Durations
Get the statistics for the durations in nanoseconds.- Returns:
- the statistics; never null
-
add
- Specified by:
add
in classStopwatch.BaseDurations
-