Class Stopwatch

java.lang.Object
org.elasticsearch.common.inject.internal.Stopwatch

public class Stopwatch extends Object
Enables simple performance monitoring.
  • Constructor Details

    • Stopwatch

      public Stopwatch()
  • Method Details

    • reset

      public long reset()
      Resets and returns elapsed time in milliseconds.
    • resetAndLog

      public void resetAndLog(String label)
      Resets and logs elapsed time in milliseconds.