Package io.debezium.util
Class Testing.Timer
java.lang.Object
io.debezium.util.Testing.Timer
- Enclosing interface:
- Testing
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.debezium.util.Stopwatch.Statisticsstatic io.debezium.util.Stopwatch.Statisticsstatic voidreset()protected static <T> io.debezium.util.Stopwatch.Statistics
-
Field Details
-
sw
private static io.debezium.util.Stopwatch sw -
sws
private static io.debezium.util.Stopwatch.StopwatchSet sws
-
-
Constructor Details
-
Timer
public Timer()
-
-
Method Details
-
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
-