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 voidclose()longgetLoggingThreshold()ObjectgetMessage()longgetRestartCount()longgetStartTime()StringgetTag()voidreset()voidsetLoggingThreshold(long loggingThreshold)voidsetMessage(Object message)voidstart()voidstop()voidstop(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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-