uk.nominet.catnap.profile
Class CatnapProfileManager

java.lang.Object
  extended byuk.nominet.catnap.profile.CatnapProfileManager

public class CatnapProfileManager
extends java.lang.Object

Static manager which a client (usually a profiling callback) can register with to enable profiling within the Catnap engine.


Constructor Summary
CatnapProfileManager()
           
 
Method Summary
static CatnapProfile getCurrentProfile()
          Return the current profile object (results of Catnaps profile)
static boolean isProfiling()
          Check to see whether or not catnap is profiling
static void startProfiling()
          Tell Catnap to start profiling
static void stopProfiling()
          Tell Catnap to stop profiling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatnapProfileManager

public CatnapProfileManager()
Method Detail

startProfiling

public static void startProfiling()
Tell Catnap to start profiling


stopProfiling

public static void stopProfiling()
Tell Catnap to stop profiling


isProfiling

public static boolean isProfiling()
Check to see whether or not catnap is profiling

Returns:
boolean

getCurrentProfile

public static CatnapProfile getCurrentProfile()
Return the current profile object (results of Catnaps profile)

Returns:
CatnapProfile