Module org.eclipse.persistence.core
Package org.eclipse.persistence.sessions
Interface SessionProfiler
- All Known Implementing Classes:
DMSPerformanceProfiler
,PerformanceMonitor
,PerformanceProfiler
,SessionProfilerAdapter
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
Modifier and TypeFieldDescriptionstatic final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final String
static final String
static final String
static final String
static final String
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endOperationProfile
(String operationName) INTERNAL: End the operation timing.void
endOperationProfile
(String operationName, DatabaseQuery query, int weight) INTERNAL: End the operation timing.int
INTERNAL: Return DMS sensor weight(DMS)void
INTERNAL: Initialize EclipseLink noun tree(DMS)void
occurred
(String operationName, AbstractSession session) INTERNAL: Increase DMS Event sensor occurrence.(DMS)void
occurred
(String operationName, DatabaseQuery query, AbstractSession session) INTERNAL: Increase DMS Event sensor occurrence.(DMS)profileExecutionOfQuery
(DatabaseQuery query, DataRecord row, 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
INTERNAL: Update the value of the State sensor.(DMS)
-
Field Details
-
NONE
static final int NONE- See Also:
-
NORMAL
static final int NORMAL- See Also:
-
HEAVY
static final int HEAVY- See Also:
-
ALL
static final int ALL- See Also:
-
SessionName
- See Also:
-
LoginTime
- See Also:
-
RcmStatus
- See Also:
-
CacheSize
- See Also:
-
ClientSessionCreated
- See Also:
-
ClientSessionReleased
- See Also:
-
UowCreated
- See Also:
-
UowReleased
- See Also:
-
UowCommits
- See Also:
-
UowRollbacks
- See Also:
-
OptimisticLockException
- See Also:
-
RcmReceived
- See Also:
-
RcmSent
- See Also:
-
RemoteChangeSet
- See Also:
-
Connects
- See Also:
-
Disconnects
- See Also:
-
CacheHits
- See Also:
-
CacheMisses
- See Also:
-
ChangeSetsProcessed
- See Also:
-
ChangeSetsNotProcessed
- See Also:
-
DescriptorEvent
- See Also:
-
SessionEvent
- See Also:
-
QueryPreparation
- See Also:
-
SqlGeneration
- See Also:
-
SqlPrepare
- See Also:
-
StatementExecute
- See Also:
-
RowFetch
- See Also:
-
ObjectBuilding
- See Also:
-
Register
- See Also:
-
Merge
- See Also:
-
DistributedMerge
- See Also:
-
AssignSequence
- See Also:
-
Caching
- See Also:
-
CacheCoordinationSerialize
- See Also:
-
CacheCoordination
- See Also:
-
ConnectionManagement
- See Also:
-
Logging
- See Also:
-
JtsBeforeCompletion
- See Also:
-
JtsAfterCompletion
- See Also:
-
Transaction
- See Also:
-
UowCommit
- See Also:
-
ConnectionPing
- See Also:
-
Remote
- See Also:
-
RemoteLazy
- See Also:
-
RemoteMetadata
- See Also:
-
-
Method Details
-
endOperationProfile
INTERNAL: End the operation timing. -
endOperationProfile
INTERNAL: End the operation timing. -
profileExecutionOfQuery
INTERNAL: Finish a profile operation if profiling. This assumes the start operation proceeds on the stack. The session must be passed to allow units of work etc. to share their parents profiler.- Returns:
- the execution result of the query.
-
setSession
INTERNAL: Set the session. -
startOperationProfile
INTERNAL: Start the operation timing. -
startOperationProfile
INTERNAL: Start the operation timing. -
update
INTERNAL: Update the value of the State sensor.(DMS) -
occurred
INTERNAL: Increase DMS Event sensor occurrence.(DMS) -
occurred
INTERNAL: Increase DMS Event sensor occurrence.(DMS) -
setProfileWeight
void setProfileWeight(int weight) INTERNAL: Set DMS sensor weight(DMS) -
getProfileWeight
int getProfileWeight()INTERNAL: Return DMS sensor weight(DMS) -
initialize
void initialize()INTERNAL: Initialize EclipseLink noun tree(DMS)
-