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 voidstart()Starts the timer.longstop()Stops the timer and returnsNOW - startTime.
-