Class Stopwatch
- java.lang.Object
-
- org.elasticsearch.common.inject.internal.Stopwatch
-
public class Stopwatch extends java.lang.Object
Enables simple performance monitoring.
-
-
Constructor Summary
Constructors Constructor Description Stopwatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
reset()
Resets and returns elapsed time in milliseconds.void
resetAndLog(java.lang.String label)
Resets and logs elapsed time in milliseconds.
-