Package org.apache.jackrabbit.oak.stats
Interface TimerStats.Context
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- Enclosing interface:
- TimerStats
public static interface TimerStats.Context extends java.io.Closeable
A timing context.- See Also:
TimerStats.time()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
stop()
Updates the timer with the difference between current and start time.
-