Class EmptyPerformanceLoggingStopWatch
- java.lang.Object
-
- org.pentaho.reporting.libraries.base.util.EmptyPerformanceLoggingStopWatch
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,PerformanceLoggingStopWatch
public class EmptyPerformanceLoggingStopWatch extends Object implements PerformanceLoggingStopWatch
-
-
Field Summary
Fields Modifier and Type Field Description static PerformanceLoggingStopWatch
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getLoggingThreshold()
Object
getMessage()
long
getRestartCount()
long
getStartTime()
String
getTag()
void
reset()
void
setLoggingThreshold(long loggingThreshold)
void
setMessage(Object message)
void
start()
void
stop()
void
stop(boolean pause)
-
-
-
Field Detail
-
INSTANCE
public static final PerformanceLoggingStopWatch INSTANCE
-
-
Method Detail
-
getLoggingThreshold
public long getLoggingThreshold()
- Specified by:
getLoggingThreshold
in interfacePerformanceLoggingStopWatch
-
setLoggingThreshold
public void setLoggingThreshold(long loggingThreshold)
- Specified by:
setLoggingThreshold
in interfacePerformanceLoggingStopWatch
-
getTag
public String getTag()
- Specified by:
getTag
in interfacePerformanceLoggingStopWatch
-
getMessage
public Object getMessage()
- Specified by:
getMessage
in interfacePerformanceLoggingStopWatch
-
setMessage
public void setMessage(Object message)
- Specified by:
setMessage
in interfacePerformanceLoggingStopWatch
-
start
public void start()
- Specified by:
start
in interfacePerformanceLoggingStopWatch
-
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
-
getStartTime
public long getStartTime()
- Specified by:
getStartTime
in interfacePerformanceLoggingStopWatch
-
stop
public void stop()
- Specified by:
stop
in interfacePerformanceLoggingStopWatch
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfacePerformanceLoggingStopWatch
-
-