Package org.apache.sling.commons.metrics
Interface Timer.Context
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
- Enclosing interface:
- Timer
public static interface Timer.Context extends java.io.CloseableA timing context.- See Also:
Timer.time()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longstop()Updates the timer with the difference between current and start time.
-