|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.util.Debug
This class contains a set of useful methods for debugging an application.
| Constructor Summary | |
Debug()
|
|
| Method Summary | |
static OperationTimer |
disableTiming()
This method disables and returns the global OperationTimer, which was previously setup by enableTiming(). |
static void |
enableTiming()
This method sets up a global OperationTimer that can be used to time operations. |
static void |
enableTiming(OperationTimer using)
This method sets up a global OperationTimer that can be used to time operations - using a specific timer. |
static void |
endTiming()
If enableTiming() was previously called, this method will tell the debug timer to stop timing the current operation, otherwise this method does nothing. |
static void |
startTiming(String operation)
If enableTiming() was previously called, this method will tell the debug timer to start timing this operation, otherwise this method does nothing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Constructor Detail |
public Debug()
| Method Detail |
public static void enableTiming()
public static void enableTiming(OperationTimer using)
public static OperationTimer disableTiming()
public static void startTiming(String operation)
public static void endTiming()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||