|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.monitor.BasicStopwatch
com.netflix.servo.monitor.TimedStopwatch
public class TimedStopwatch
Stopwatch that will also record to a timer.
| Constructor Summary | |
|---|---|
TimedStopwatch(Timer timer)
Create a new instance with the specified timer. |
|
| Method Summary | |
|---|---|
void |
stop()
Mark the end time. |
| Methods inherited from class com.netflix.servo.monitor.BasicStopwatch |
|---|
getDuration, getDuration, reset, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimedStopwatch(Timer timer)
| Method Detail |
|---|
public void stop()
stop in interface Stopwatchstop in class BasicStopwatch
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||