public static class LongTaskTimer.Sample
extends java.lang.Object
Constructor and Description |
---|
Sample(LongTaskTimer timer,
long task) |
Modifier and Type | Method and Description |
---|---|
double |
duration(java.util.concurrent.TimeUnit unit) |
long |
stop()
Records the duration of the operation
|
public Sample(LongTaskTimer timer, long task)