Package io.debezium.util
Class Stopwatch.MultipleDurations
java.lang.Object
io.debezium.util.Stopwatch.BaseDurations
io.debezium.util.Stopwatch.MultipleDurations
- All Implemented Interfaces:
Stopwatch.Durations
- Enclosing class:
- Stopwatch
A
Stopwatch.Durations
implementation that accumulates all added
durations.-
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
-
durations
-
-
Constructor Details
-
MultipleDurations
private MultipleDurations()
-
-
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
-