java.lang.Object
org.jooq.tools.StopWatch
A time measuring device
- Author:
- Lukas Eder
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Stringformat(long nanoTime)static StringformatHours(long seconds)longsplit()voidsplitDebug(String message)Split the time and debug log a message, if trace logging is enabledvoidsplitDebug(String message, long thresholdNano)Split the time and debug log a message if the split time exceeds a certain threshold and if trace logging is enabledvoidSplit the time and info log a message, if trace logging is enabledvoidSplit the time and info log a message if the split time exceeds a certain threshold and if trace logging is enabledvoidsplitTrace(String message)Split the time and trace log a message, if trace logging is enabled.voidsplitTrace(String message, long thresholdNano)Split the time and trace log a message if the split time exceeds a certain threshold and if trace logging is enabled.voidSplit the time and warn log a message, if trace logging is enabledvoidSplit the time and warn log a message if the split time exceeds a certain threshold and if trace logging is enabled
- 
Constructor Details- 
StopWatchpublic StopWatch()Initialise the stop watch
 
- 
- 
Method Details- 
splitTraceSplit the time and trace log a message, if trace logging is enabled.
- 
splitTraceSplit the time and trace log a message if the split time exceeds a certain threshold and if trace logging is enabled.
- 
splitDebugSplit the time and debug log a message, if trace logging is enabled
- 
splitDebugSplit the time and debug log a message if the split time exceeds a certain threshold and if trace logging is enabled
- 
splitInfoSplit the time and info log a message, if trace logging is enabled
- 
splitInfoSplit the time and info log a message if the split time exceeds a certain threshold and if trace logging is enabled
- 
splitWarnSplit the time and warn log a message, if trace logging is enabled
- 
splitWarnSplit the time and warn log a message if the split time exceeds a certain threshold and if trace logging is enabled
- 
splitpublic long split()
- 
format
- 
formatHours
 
-