Class LoggingStopWatch
java.lang.Object
org.pentaho.reporting.libraries.base.util.StopWatch
org.pentaho.reporting.libraries.base.util.LoggingStopWatch
- All Implemented Interfaces:
Closeable,AutoCloseable,PerformanceLoggingStopWatch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlonglonglonggetTag()voidreset()voidsetLoggingThreshold(long loggingThreshold) voidsetMessage(Object message) voidstart()static PerformanceLoggingStopWatchstatic PerformanceLoggingStopWatchstatic PerformanceLoggingStopWatchvoidstop()voidstop(boolean pause) Methods inherited from class org.pentaho.reporting.libraries.base.util.StopWatch
close, getElapsedMilliseconds, getElapsedSeconds, getElapsedTime, getStartMilliseconds, isStarted, startNew, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.pentaho.reporting.libraries.base.util.PerformanceLoggingStopWatch
close
-
Constructor Details
-
LoggingStopWatch
-
LoggingStopWatch
-
-
Method Details
-
startNew
-
startNew
-
startNew
-
getLoggingThreshold
public long getLoggingThreshold()- Specified by:
getLoggingThresholdin interfacePerformanceLoggingStopWatch
-
setLoggingThreshold
public void setLoggingThreshold(long loggingThreshold) - Specified by:
setLoggingThresholdin interfacePerformanceLoggingStopWatch
-
getTag
- Specified by:
getTagin interfacePerformanceLoggingStopWatch
-
getMessage
- Specified by:
getMessagein interfacePerformanceLoggingStopWatch
-
setMessage
- Specified by:
setMessagein interfacePerformanceLoggingStopWatch
-
start
public void start()- Specified by:
startin interfacePerformanceLoggingStopWatch- Overrides:
startin classStopWatch
-
stop
public void stop(boolean pause) - Specified by:
stopin interfacePerformanceLoggingStopWatch
-
getRestartCount
public long getRestartCount()- Specified by:
getRestartCountin interfacePerformanceLoggingStopWatch
-
reset
public void reset()- Specified by:
resetin interfacePerformanceLoggingStopWatch- Overrides:
resetin classStopWatch
-
getStartTime
public long getStartTime()- Specified by:
getStartTimein interfacePerformanceLoggingStopWatch- Overrides:
getStartTimein classStopWatch
-
stop
public void stop()- Specified by:
stopin interfacePerformanceLoggingStopWatch- Overrides:
stopin classStopWatch
-
doLog
-