java.lang.Object
org.jooq.tools.StopWatch
A time measuring device
- Author:
 - Lukas Eder
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
StopWatch
public StopWatch()Initialise the stop watch 
 - 
 - 
Method Details
- 
splitTrace
Split the time and trace log a message, if trace logging is enabled. - 
splitTrace
Split the time and trace log a message if the split time exceeds a certain threshold and if trace logging is enabled. - 
splitDebug
Split the time and debug log a message, if trace logging is enabled - 
splitDebug
Split the time and debug log a message if the split time exceeds a certain threshold and if trace logging is enabled - 
splitInfo
Split the time and info log a message, if trace logging is enabled - 
splitInfo
Split the time and info log a message if the split time exceeds a certain threshold and if trace logging is enabled - 
splitWarn
Split the time and warn log a message, if trace logging is enabled - 
splitWarn
Split the time and warn log a message if the split time exceeds a certain threshold and if trace logging is enabled - 
split
public long split() - 
format
 - 
formatHours
 
 -