|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.profile.ProfileCategory
A ProfileCategory manages Profile objects for a category.
Constructor Summary | |
protected |
ProfileCategory(java.lang.String name,
int samplingRate,
int recordTime)
Record time is how long we are to record profiles. |
Method Summary | |
java.lang.String |
getName()
|
Profile[] |
getProfiles()
Get the current Profiles |
Profile |
newProfile()
Instantiate a new Profile. |
protected void |
record(Profile p)
Add the profiler to the record queue, and clean out any profilers that have been hanging around for too long. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected ProfileCategory(java.lang.String name, int samplingRate, int recordTime)
Method Detail |
public final java.lang.String getName()
public java.lang.String toString()
public Profile newProfile()
Concurrency: this method is thread-safe. You may call it from multiple threads.
protected final void record(Profile p)
public final Profile[] getProfiles()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |