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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
long
long
long
getTag()
void
reset()
void
setLoggingThreshold
(long loggingThreshold) void
setMessage
(Object message) void
start()
static PerformanceLoggingStopWatch
static PerformanceLoggingStopWatch
static PerformanceLoggingStopWatch
void
stop()
void
stop
(boolean pause) Methods inherited from class org.pentaho.reporting.libraries.base.util.StopWatch
close, getElapsedMilliseconds, getElapsedSeconds, getElapsedTime, getStartMilliseconds, isStarted, startNew, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getLoggingThreshold
in interfacePerformanceLoggingStopWatch
-
setLoggingThreshold
public void setLoggingThreshold(long loggingThreshold) - Specified by:
setLoggingThreshold
in interfacePerformanceLoggingStopWatch
-
getTag
- Specified by:
getTag
in interfacePerformanceLoggingStopWatch
-
getMessage
- Specified by:
getMessage
in interfacePerformanceLoggingStopWatch
-
setMessage
- Specified by:
setMessage
in interfacePerformanceLoggingStopWatch
-
start
public void start()- Specified by:
start
in interfacePerformanceLoggingStopWatch
- Overrides:
start
in classStopWatch
-
stop
public void stop(boolean pause) - Specified by:
stop
in interfacePerformanceLoggingStopWatch
-
getRestartCount
public long getRestartCount()- Specified by:
getRestartCount
in interfacePerformanceLoggingStopWatch
-
reset
public void reset()- Specified by:
reset
in interfacePerformanceLoggingStopWatch
- Overrides:
reset
in classStopWatch
-
getStartTime
public long getStartTime()- Specified by:
getStartTime
in interfacePerformanceLoggingStopWatch
- Overrides:
getStartTime
in classStopWatch
-
stop
public void stop()- Specified by:
stop
in interfacePerformanceLoggingStopWatch
- Overrides:
stop
in classStopWatch
-
doLog
-