Class Testing.Timer

java.lang.Object
io.debezium.util.Testing.Timer
Enclosing interface:
Testing

public static final class Testing.Timer extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static io.debezium.util.Stopwatch
     
    private static io.debezium.util.Stopwatch.StopwatchSet
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.debezium.util.Stopwatch.Statistics
     
    static io.debezium.util.Stopwatch.Statistics
     
    static void
     
    protected static <T> io.debezium.util.Stopwatch.Statistics
    time(String desc, int repeat, Callable<T> runnable, Consumer<T> cleanup)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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