FileDocCategorySizeDatePackage
SessionProfiler.javaAPI DocGlassfish v2 API8151Tue May 22 16:54:52 BST 2007oracle.toplink.essentials.sessions

SessionProfiler

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.

author
James Sutherland

Fields Summary
public static final int
NONE
public static final int
NORMAL
public static final int
HEAVY
public static final int
ALL
public static final String
TopLinkRootNoun
public static final String
SessionNounType
public static final String
TransactionNounType
public static final String
QueryNounType
public static final String
RcmNounType
public static final String
ConnectionNounType
public static final String
CacheNounType
public static final String
MiscellaneousNounType
public static final String
SessionName
public static final String
LoginTime
public static final String
ClientSessionCreated
public static final String
UowCreated
public static final String
UowCommit
public static final String
UowRollbacks
public static final String
OptimisticLockException
public static final String
ReadQuery
public static final String
WriteQuery
public static final String
DeleteQuery
public static final String
RcmStatus
public static final String
RcmReceived
public static final String
RcmSent
public static final String
RemoteChangeSet
public static final String
TlConnects
public static final String
TlDisconnects
public static final String
CachedObjects
public static final String
CacheHits
public static final String
CacheMisses
public static final String
ChangeSetsProcessed
public static final String
ChangeSetsNotProcessed
public static final String
DescriptorEvent
public static final String
SessionEvent
public static final String
ConnectionInUse
public static final String
QueryPreparation
public static final String
SqlGeneration
public static final String
DatabaseExecute
public static final String
SqlPrepare
public static final String
RowFetch
public static final String
ObjectBuilding
public static final String
MergeTime
public static final String
UnitOfWorkRegister
public static final String
DistributedMergeDmsDisplayName
public static final String
Sequencing
public static final String
Caching
public static final String
ConnectionManagement
public static final String
LoggingDMSDisPlayName
public static final String
JtsBeforeCompletion
public static final String
JtsAfterCompletion
public static final String
Register
public static final String
Merge
public static final String
AssignSequence
public static final String
DistributedMerge
public static final String
DeletedObject
public static final String
Wrapping
public static final String
Logging
public static final String
OBJECT_BUILDING
public static final String
SQL_GENERATION
public static final String
QUERY_PREPARE
public static final String
STATEMENT_EXECUTE
public static final String
ROW_FETCH
public static final String
SQL_PREPARE
public static final String
TRANSACTION
public static final String
CONNECT
public static final String
CACHE
Constructors Summary
Methods Summary
public voidendOperationProfile(java.lang.String operationName)
INTERNAL: End the operation timing.

public intgetProfileWeight()
INTERNAL: Return DMS sensor weight(DMS)

public voidinitialize()
INTERNAL: Initialize TopLink noun tree(DMS)

public voidoccurred(java.lang.String operationName)
INTERNAL: Increase DMS Event sensor occurrence.(DMS)

public java.lang.ObjectprofileExecutionOfQuery(DatabaseQuery query, oracle.toplink.essentials.internal.sessions.AbstractRecord row, oracle.toplink.essentials.internal.sessions.AbstractSession session)
INTERNAL: Finish a profile operation if profiling. This assumes the start operation preceeds on the stack. The session must be passed to allow units of work etc. to share their parents profiler.

return
the execution result of the query.

public voidsetProfileWeight(int weight)
INTERNAL: Set DMS sensor weight(DMS)

public voidsetSession(Session session)
INTERNAL: Set the sesssion.

public voidstartOperationProfile(java.lang.String operationName)
INTERNAL: Start the operation timing.

public voidupdate(java.lang.String operationName, java.lang.Object value)
INTERNAL: Update the value of the State sensor.(DMS)