|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.toplink.tools.profiler.PerformanceProfiler
Purpose: A tool used to provide high level performance profiling information.
Constructor Summary | |
PerformanceProfiler() PUBLIC: Create a new profiler. | |
PerformanceProfiler(boolean shouldLogProfile) PUBLIC: Create a new profiler. | |
PerformanceProfiler(Session session) OBSOLETE: Create a new profiler. | |
PerformanceProfiler(Session session, boolean shouldLogProfile) OBSOLETE: Create a new profiler. |
Method Summary | |
java.lang.Object |
clone() |
void |
dontLogProfile() PUBLIC: Set whether after each query execution the profile result should be logged. |
java.util.Vector |
getProfiles() Return the profiles logged in this profiler. |
oracle.toplink.publicinterface.Session |
getSession() |
void |
logProfile() PUBLIC: Set whether after each query execution the profile result should be logged. |
void |
logProfileSummary() PUBLIC: Log a profile summary. |
void |
logProfileSummaryByClass() PUBLIC: Log a profile summary by class. |
void |
logProfileSummaryByQuery() PUBLIC: Log a profile summary by query. |
void |
setSession(Session session) INTERNAL: Set the sesssion. |
void |
setShouldLogProfile(boolean shouldLogProfile) PUBLIC: Set whether after each query execution the profile result should be logged. |
boolean |
shouldLogProfile() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PerformanceProfiler()
public PerformanceProfiler(Session session)
public PerformanceProfiler(Session session, boolean shouldLogProfile)
public PerformanceProfiler(boolean shouldLogProfile)
Method Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public void dontLogProfile()
public java.util.Vector getProfiles()
public oracle.toplink.publicinterface.Session getSession()
public void logProfile()
public void logProfileSummary()
public void logProfileSummaryByClass()
public void logProfileSummaryByQuery()
public void setSession(Session session)
SessionProfiler
setSession
in interface SessionProfiler
public void setShouldLogProfile(boolean shouldLogProfile)
public boolean shouldLogProfile()
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |