Interface PerformanceLoggingStopWatch
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
EmptyPerformanceLoggingStopWatch
,LoggingStopWatch
public interface PerformanceLoggingStopWatch extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract 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)
-
-
-
Method Detail
-
getLoggingThreshold
long getLoggingThreshold()
-
setLoggingThreshold
void setLoggingThreshold(long loggingThreshold)
-
getTag
String getTag()
-
getMessage
Object getMessage()
-
setMessage
void setMessage(Object message)
-
start
void start()
-
stop
void stop(boolean pause)
-
getRestartCount
long getRestartCount()
-
reset
void reset()
-
getStartTime
long getStartTime()
-
stop
void stop()
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-