Package org.opennms.core.profiler
Class Timer
- java.lang.Object
-
- org.opennms.core.profiler.Timer
-
public class Timer extends Object
A simple Timer implementation to start and stop.
-
-
Constructor Summary
Constructors Constructor Description Timer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
Starts the timer.long
stop()
Stops the timer and returnsNOW - startTime
.
-