Class StopWatch

java.lang.Object
migratedb.v1.core.internal.util.StopWatch

public class StopWatch extends Object
Stop watch, inspired by the implementation in the Spring framework.
  • Constructor Details

    • StopWatch

      public StopWatch()
  • Method Details

    • start

      public void start()
      Starts the stop watch.
    • stop

      public void stop()
      Stops the stop watch.
    • getTotalTimeMillis

      public long getTotalTimeMillis()
      Returns:
      The total run time in millis of the stop watch between start and stop calls.