public static class Histogram.Timer extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Equivalent to calling
observeDuration(). |
double |
observeDuration()
Observe the amount of time in seconds since
Histogram.Child.startTimer() was called. |
public double observeDuration()
Histogram.Child.startTimer() was called.Histogram.Child.startTimer() was called.public void close()
observeDuration().close in interface Closeableclose in interface AutoCloseableCopyright © 2018. All rights reserved.