|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionProfiler
Purpose: This interface defines the link between the Session and the PerformanceProfiler tool. It is provide to decouple the session from tools and to allow other profilers to register with the session.
Field Summary | |
---|---|
static int |
ALL
|
static java.lang.String |
AssignSequence
|
static java.lang.String |
CachedObjects
|
static java.lang.String |
CacheHits
|
static java.lang.String |
CacheMisses
|
static java.lang.String |
Caching
|
static java.lang.String |
ChangeSetsNotProcessed
|
static java.lang.String |
ChangeSetsProcessed
|
static java.lang.String |
ClientSessionCreated
|
static java.lang.String |
ConnectionManagement
|
static java.lang.String |
ConnectionPing
|
static java.lang.String |
Connects
|
static java.lang.String |
DescriptorEvent
|
static java.lang.String |
Disconnects
|
static java.lang.String |
DistributedMerge
|
static int |
HEAVY
|
static java.lang.String |
JtsAfterCompletion
|
static java.lang.String |
JtsBeforeCompletion
|
static java.lang.String |
Logging
|
static java.lang.String |
LoginTime
|
static java.lang.String |
Merge
|
static int |
NONE
|
static int |
NORMAL
|
static java.lang.String |
ObjectBuilding
|
static java.lang.String |
OptimisticLockException
|
static java.lang.String |
QueryPreparation
|
static java.lang.String |
RcmReceived
|
static java.lang.String |
RcmSent
|
static java.lang.String |
RcmStatus
|
static java.lang.String |
Register
|
static java.lang.String |
RemoteChangeSet
|
static java.lang.String |
RowFetch
|
static java.lang.String |
SessionEvent
|
static java.lang.String |
SessionName
|
static java.lang.String |
SqlGeneration
|
static java.lang.String |
SqlPrepare
|
static java.lang.String |
StatementExecute
|
static java.lang.String |
Transaction
|
static java.lang.String |
UowCommit
|
static java.lang.String |
UowCommits
|
static java.lang.String |
UowCreated
|
static java.lang.String |
UowRollbacks
|
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)
INTERNAL: Increase DMS Event sensor occurrence. |
void |
occurred(java.lang.String operationName,
DatabaseQuery query)
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. |
Field Detail |
---|
static final int NONE
static final int NORMAL
static final int HEAVY
static final int ALL
static final java.lang.String SessionName
static final java.lang.String LoginTime
static final java.lang.String RcmStatus
static final java.lang.String CachedObjects
static final java.lang.String ClientSessionCreated
static final java.lang.String UowCreated
static final java.lang.String UowCommits
static final java.lang.String UowRollbacks
static final java.lang.String OptimisticLockException
static final java.lang.String RcmReceived
static final java.lang.String RcmSent
static final java.lang.String RemoteChangeSet
static final java.lang.String Connects
static final java.lang.String Disconnects
static final java.lang.String CacheHits
static final java.lang.String CacheMisses
static final java.lang.String ChangeSetsProcessed
static final java.lang.String ChangeSetsNotProcessed
static final java.lang.String DescriptorEvent
static final java.lang.String SessionEvent
static final java.lang.String QueryPreparation
static final java.lang.String SqlGeneration
static final java.lang.String SqlPrepare
static final java.lang.String StatementExecute
static final java.lang.String RowFetch
static final java.lang.String ObjectBuilding
static final java.lang.String Register
static final java.lang.String Merge
static final java.lang.String DistributedMerge
static final java.lang.String AssignSequence
static final java.lang.String Caching
static final java.lang.String ConnectionManagement
static final java.lang.String Logging
static final java.lang.String JtsBeforeCompletion
static final java.lang.String JtsAfterCompletion
static final java.lang.String Transaction
static final java.lang.String UowCommit
static final java.lang.String ConnectionPing
Method Detail |
---|
void endOperationProfile(java.lang.String operationName)
void endOperationProfile(java.lang.String operationName, DatabaseQuery query, int weight)
java.lang.Object profileExecutionOfQuery(DatabaseQuery query, Record row, org.eclipse.persistence.internal.sessions.AbstractSession session)
void setSession(Session session)
void startOperationProfile(java.lang.String operationName)
void startOperationProfile(java.lang.String operationName, DatabaseQuery query, int weight)
void update(java.lang.String operationName, java.lang.Object value)
void occurred(java.lang.String operationName)
void occurred(java.lang.String operationName, DatabaseQuery query)
void setProfileWeight(int weight)
int getProfileWeight()
void initialize()
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |