|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.sessions.SessionProfilerAdapter
public abstract class SessionProfilerAdapter
Adapter class for SessionProfiler interface. This class should be subclasses for profilers to avoid backward compatiblity issues with future releases when additional API is added to the interface.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.persistence.sessions.SessionProfiler |
|---|
ALL, AssignSequence, CacheHits, CacheMisses, CacheSize, Caching, ChangeSetsNotProcessed, ChangeSetsProcessed, ClientSessionCreated, ClientSessionReleased, ConnectionManagement, ConnectionPing, Connects, DescriptorEvent, Disconnects, DistributedMerge, HEAVY, JtsAfterCompletion, JtsBeforeCompletion, Logging, LoginTime, Merge, NONE, NORMAL, ObjectBuilding, OptimisticLockException, QueryPreparation, RcmReceived, RcmSent, RcmStatus, Register, Remote, RemoteChangeSet, RemoteLazy, RemoteMetadata, RowFetch, SessionEvent, SessionName, SqlGeneration, SqlPrepare, StatementExecute, Transaction, UowCommit, UowCommits, UowCreated, UowReleased, UowRollbacks |
| Constructor Summary | |
|---|---|
SessionProfilerAdapter()
|
|
| Method Summary | |
|---|---|
void |
endOperationProfile(java.lang.String operationName)
INTERNAL: End the operation timing. |
void |
endOperationProfile(java.lang.String operationName,
DatabaseQuery query,
int weight)
INTERNAL: End the operation timing. |
int |
getProfileWeight()
INTERNAL: Return DMS sensor weight(DMS) |
void |
initialize()
INTERNAL: Initialize EclipseLink noun tree(DMS) |
void |
occurred(java.lang.String operationName,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Increase DMS Event sensor occurrence. |
void |
occurred(java.lang.String operationName,
DatabaseQuery query,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Increase DMS Event sensor occurrence. |
java.lang.Object |
profileExecutionOfQuery(DatabaseQuery query,
Record row,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Finish a profile operation if profiling. |
void |
setProfileWeight(int weight)
INTERNAL: Set DMS sensor weight(DMS) |
void |
setSession(Session session)
INTERNAL: Set the session. |
void |
startOperationProfile(java.lang.String operationName)
INTERNAL: Start the operation timing. |
void |
startOperationProfile(java.lang.String operationName,
DatabaseQuery query,
int weight)
INTERNAL: Start the operation timing. |
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionProfilerAdapter()
| Method Detail |
|---|
public void endOperationProfile(java.lang.String operationName)
endOperationProfile in interface SessionProfiler
public void endOperationProfile(java.lang.String operationName,
DatabaseQuery query,
int weight)
endOperationProfile in interface SessionProfiler
public java.lang.Object profileExecutionOfQuery(DatabaseQuery query,
Record row,
org.eclipse.persistence.internal.sessions.AbstractSession session)
profileExecutionOfQuery in interface SessionProfilerpublic void setSession(Session session)
setSession in interface SessionProfilerpublic void startOperationProfile(java.lang.String operationName)
startOperationProfile in interface SessionProfiler
public void startOperationProfile(java.lang.String operationName,
DatabaseQuery query,
int weight)
startOperationProfile in interface SessionProfiler
public void update(java.lang.String operationName,
java.lang.Object value)
update in interface SessionProfiler
public void occurred(java.lang.String operationName,
org.eclipse.persistence.internal.sessions.AbstractSession session)
occurred in interface SessionProfiler
public void occurred(java.lang.String operationName,
DatabaseQuery query,
org.eclipse.persistence.internal.sessions.AbstractSession session)
occurred in interface SessionProfilerpublic void setProfileWeight(int weight)
setProfileWeight in interface SessionProfilerpublic int getProfileWeight()
getProfileWeight in interface SessionProfilerpublic void initialize()
initialize in interface SessionProfiler
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||