Package io.debezium.util
Class Testing.Timer
- java.lang.Object
-
- io.debezium.util.Testing.Timer
-
-
Constructor Summary
Constructors Constructor Description Timer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.debezium.util.Stopwatch.StatisticscompletionTime()static io.debezium.util.Stopwatch.StatisticsoperationTimes()static voidreset()protected static <T> io.debezium.util.Stopwatch.Statisticstime(String desc, int repeat, Callable<T> runnable, Consumer<T> cleanup)
-
-
-
Method Detail
-
reset
public static void reset()
-
completionTime
public static io.debezium.util.Stopwatch.Statistics completionTime()
-
operationTimes
public static io.debezium.util.Stopwatch.Statistics operationTimes()
-
time
protected static <T> io.debezium.util.Stopwatch.Statistics time(String desc, int repeat, Callable<T> runnable, Consumer<T> cleanup) throws InterruptedException
- Throws:
InterruptedException
-
-