org.elasticsearch.common.inject.internal
Class Stopwatch
java.lang.Object
org.elasticsearch.common.inject.internal.Stopwatch
public class Stopwatch
- extends Object
Enables simple performance monitoring.
- Author:
- crazybob@google.com (Bob Lee)
Method Summary |
long |
reset()
Resets and returns elapsed time in milliseconds. |
void |
resetAndLog(String label)
Resets and logs elapsed time in milliseconds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stopwatch
public Stopwatch()
reset
public long reset()
- Resets and returns elapsed time in milliseconds.
resetAndLog
public void resetAndLog(String label)
- Resets and logs elapsed time in milliseconds.
Copyright © 2009-2012. All Rights Reserved.