Class StopWatch
java.lang.Object
org.pentaho.reporting.libraries.base.util.StopWatch
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
LoggingStopWatch
-
Constructor Details
-
StopWatch
public StopWatch()
-
-
Method Details
-
startNew
-
start
public void start() -
reset
public void reset() -
stop
public void stop() -
getElapsedTime
public long getElapsedTime() -
getElapsedMilliseconds
public double getElapsedMilliseconds() -
getElapsedSeconds
public double getElapsedSeconds() -
toString
-
getStartTime
public long getStartTime() -
getStartMilliseconds
public double getStartMilliseconds() -
isStarted
public boolean isStarted() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-