|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.zwares.base.monitor.ExecutionTimer
This class provides methods to measure performance of one or more operation(s).
| Constructor Summary | |
ExecutionTimer()
Default constructor |
|
ExecutionTimer(java.lang.String contextName)
Constructs a performance measuring object. |
|
| Method Summary | |
void |
end()
End of measuring an operation. |
void |
start()
Start of measuring an operation. |
long |
timeTaken()
Time taken for the operation. |
java.lang.String |
toString()
Outputs time take for the operation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExecutionTimer()
public ExecutionTimer(java.lang.String contextName)
contextName - name assigned to a test.| Method Detail |
public void start()
public void end()
public long timeTaken()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||