- java.lang.Object
- 
- org.jooq.tools.StopWatch
 
- 
 public final class StopWatch extends Object A time measuring device- Author:
- Lukas Eder
 
- 
- 
Constructor SummaryConstructors Constructor Description StopWatch()Initialise the stop watch
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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 enabledvoidsplitInfo(String message)Split the time and info log a message, if trace logging is enabledvoidsplitInfo(String message, long thresholdNano)Split 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.voidsplitWarn(String message)Split the time and warn log a message, if trace logging is enabledvoidsplitWarn(String message, long thresholdNano)Split the time and warn log a message if the split time exceeds a certain threshold and if trace logging is enabled
 
- 
- 
- 
Method Detail- 
splitTracepublic void splitTrace(String message) Split the time and trace log a message, if trace logging is enabled.
 - 
splitTracepublic void splitTrace(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.
 - 
splitDebugpublic void splitDebug(String message) Split the time and debug log a message, if trace logging is enabled
 - 
splitDebugpublic void splitDebug(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 enabled
 - 
splitInfopublic void splitInfo(String message) Split the time and info log a message, if trace logging is enabled
 - 
splitInfopublic void splitInfo(String message, long thresholdNano) Split the time and info log a message if the split time exceeds a certain threshold and if trace logging is enabled
 - 
splitWarnpublic void splitWarn(String message) Split the time and warn log a message, if trace logging is enabled
 - 
splitWarnpublic void splitWarn(String message, long thresholdNano) Split the time and warn log a message if the split time exceeds a certain threshold and if trace logging is enabled
 - 
splitpublic long split() 
 - 
formatpublic static String format(long nanoTime) 
 - 
formatHourspublic static String formatHours(long seconds) 
 
- 
 
-