Interface Gauge.Timer
- All Superinterfaces:
AutoCloseable
- Enclosing interface:
- Gauge
Represents an event being timed.
Observe duration on AutoCloseable.close()
-
Method Summary
Modifier and TypeMethodDescriptiondouble
stop()
Set the amount of time in seconds sinceGauge.startTimer()
was called.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
stop
double stop()Set the amount of time in seconds sinceGauge.startTimer()
was called.- Returns:
- Measured duration in seconds since
Gauge.startTimer()
was called.
-