public abstract class SessionProfilerAdapter extends Object implements SessionProfiler
ALL, AssignSequence, CacheCoordination, CacheCoordinationSerialize, 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 and Description |
|---|
SessionProfilerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
endOperationProfile(String operationName)
INTERNAL:
End the operation timing.
|
void |
endOperationProfile(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(String operationName,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Increase DMS Event sensor occurrence.(DMS)
|
void |
occurred(String operationName,
DatabaseQuery query,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Increase DMS Event sensor occurrence.(DMS)
|
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(String operationName)
INTERNAL:
Start the operation timing.
|
void |
startOperationProfile(String operationName,
DatabaseQuery query,
int weight)
INTERNAL:
Start the operation timing.
|
void |
update(String operationName,
Object value)
INTERNAL:
Update the value of the State sensor.(DMS)
|
public void endOperationProfile(String operationName)
endOperationProfile in interface SessionProfilerpublic void endOperationProfile(String operationName, DatabaseQuery query, int weight)
endOperationProfile in interface SessionProfilerpublic 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(String operationName)
startOperationProfile in interface SessionProfilerpublic void startOperationProfile(String operationName, DatabaseQuery query, int weight)
startOperationProfile in interface SessionProfilerpublic void update(String operationName, Object value)
update in interface SessionProfilerpublic void occurred(String operationName, org.eclipse.persistence.internal.sessions.AbstractSession session)
occurred in interface SessionProfilerpublic void occurred(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 SessionProfilerCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.