Interface OperationTimer.TimingContext
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- Enclosing interface:
- OperationTimer
public static interface OperationTimer.TimingContext extends java.io.Closeable
An interface for stopping the timer and returning elapsed time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
double
stopTimer()
Stops the timer and returns the elapsed time.
-