Package org.apache.activemq.util
Class StopWatch
- java.lang.Object
-
- org.apache.activemq.util.StopWatch
-
public final class StopWatch extends Object
A very simple stop watch. This implementation is not thread safe and can only time one task at any given time.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrestart()Starts or restarts the stop watchlongstop()Stops the stop watchlongtaken()Returns the time taken in milliseconds.
-