|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.nominet.catnap.profile.CatnapProfilingCallback
Special callback for wrapping arbitrary blocks of code for profiling Essentially initialises the Catnap Profile Manager and ensures profiling is switched off afterwards
| Constructor Summary | |
CatnapProfilingCallback()
|
|
| Method Summary | |
abstract void |
doWithProfiling()
Callback method which must be implemented with the block of code to be profiled. |
CatnapProfile |
execute()
Execute the callback, starting the profile manager and returning the profile when complete (ensuring that whatever happens we tidy up the profile manager at the end) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CatnapProfilingCallback()
| Method Detail |
public abstract void doWithProfiling()
public CatnapProfile execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||