|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.nominet.catnap.profile.CatnapTimingCallback
Timer callback, permits an arbitrary block of code to be timed. The execute method returns the time taken to execute the code.
| Constructor Summary | |
CatnapTimingCallback()
|
|
| Method Summary | |
abstract void |
doTimedBlock()
Callback method containing block to be timed. |
long |
execute()
Execute the callback, returning the time taken to execute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CatnapTimingCallback()
| Method Detail |
public abstract void doTimedBlock()
public long execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||