| Modifier and Type | Field and Description |
|---|---|
private static io.debezium.util.Stopwatch |
sw |
private static io.debezium.util.Stopwatch.StopwatchSet |
sws |
| Constructor and Description |
|---|
Timer() |
| Modifier and Type | Method and Description |
|---|---|
static io.debezium.util.Stopwatch.Statistics |
completionTime() |
static io.debezium.util.Stopwatch.Statistics |
operationTimes() |
static void |
reset() |
protected static <T> io.debezium.util.Stopwatch.Statistics |
time(String desc,
int repeat,
Callable<T> runnable,
Consumer<T> cleanup) |
private static io.debezium.util.Stopwatch sw
private static io.debezium.util.Stopwatch.StopwatchSet sws
public static void reset()
public static io.debezium.util.Stopwatch.Statistics completionTime()
public static io.debezium.util.Stopwatch.Statistics operationTimes()
protected static <T> io.debezium.util.Stopwatch.Statistics time(String desc, int repeat, Callable<T> runnable, Consumer<T> cleanup) throws InterruptedException
InterruptedExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.