|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.util.ProfileCollector
public class ProfileCollector
This class serves as a ThreadLocal collector for profiling information.
Nested Class Summary | |
---|---|
static class |
ProfileCollector.ProfileEntry
|
Method Summary | |
---|---|
void |
enter(java.lang.String context)
|
void |
finish()
This method must be called by the application to indicate that logging is finished. |
static ProfileCollector |
getInstance()
|
java.util.Collection<ProfileCollector.ProfileEntry> |
getProfile()
|
void |
leave()
the leave() method does not need to be passed the context because it keeps a stack of all contexts and pops the topmost. |
void |
setDetailedLoggingWriter(java.io.OutputStream out)
This method tells the ProfileCollector to perform detailed logging and store it in the Writer passed as a parameter. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ProfileCollector getInstance()
public void setDetailedLoggingWriter(java.io.OutputStream out)
public void finish()
public java.util.Collection<ProfileCollector.ProfileEntry> getProfile()
public void enter(java.lang.String context)
public void leave()
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 |