|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-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.
Field Summary |
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. |
int |
getProfileWeight() INTERNAL: Return DMS sensor weight(DMS) |
Session |
getSession() |
void |
initialize() INTERNAL: Initialize TopLink noun tree(DMS) |
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 |
occurred(java.lang.String operationName) INTERNAL: Increase DMS Event sensor occurrence. |
void |
setProfileWeight(int weight) INTERNAL: Set DMS sensor weight(DMS) |
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() |
void |
update(java.lang.String operationName, java.lang.Object value) INTERNAL: Update the value of the State sensor. |
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()
public void dontLogProfile()
public java.util.Vector getProfiles()
public 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()
public void update(java.lang.String operationName, java.lang.Object value)
SessionProfiler
update
in interface SessionProfiler
public void occurred(java.lang.String operationName)
SessionProfiler
occurred
in interface SessionProfiler
public void setProfileWeight(int weight)
SessionProfiler
setProfileWeight
in interface SessionProfiler
public int getProfileWeight()
SessionProfiler
getProfileWeight
in interface SessionProfiler
public void initialize()
SessionProfiler
initialize
in interface SessionProfiler
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |