Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.tools.profiler
Class DMSPerformanceProfiler

java.lang.Object
  extended byoracle.toplink.tools.profiler.DMSPerformanceProfiler

All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, SessionProfiler

public class DMSPerformanceProfiler
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, SessionProfiler

Purpose: Define the interface of TopLink profiler for using DMS gate.

Description: A mechanism used to provide a link for TopLink performance profiling by using the DMS tool. The predefined TopLink metrics will be monitored by using DMS sensors. TopLink library instrumentation will be done by inserting DMS calls for the purpose of measuring its performance

Responsibilities:

Since:
TopLink 10.1.3
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.toplink.sessions.SessionProfiler
ALL, AssignSequence, CACHE, CachedObjects, CacheHits, CacheMisses, CacheNounType, Caching, ChangeSetsNotProcessed, ChangeSetsProcessed, ClientSessionCreated, CONNECT, ConnectionInUse, ConnectionManagement, ConnectionNounType, DatabaseExecute, DeletedObject, DeleteQuery, DescriptorEvent, DistributedMerge, DistributedMergeDmsDisplayName, HEAVY, JtsAfterCompletion, JtsBeforeCompletion, Logging, LoggingDMSDisPlayName, LoginTime, Merge, MergeTime, MiscellaneousNounType, NONE, NORMAL, OBJECT_BUILDING, ObjectBuilding, OptimisticLockException, QUERY_PREPARE, QueryNounType, QueryPreparation, RcmNounType, RcmReceived, RcmSent, RcmStatus, ReadQuery, Register, RemoteChangeSet, ROW_FETCH, RowFetch, Sequencing, SessionEvent, SessionName, SessionNounType, SQL_GENERATION, SQL_PREPARE, SqlGeneration, SqlPrepare, STATEMENT_EXECUTE, TlConnects, TlDisconnects, TopLinkRootNoun, TRANSACTION, TransactionNounType, UnitOfWorkRegister, UowCommit, UowCreated, UowRollbacks, Wrapping, WriteQuery

 

Constructor Summary
DMSPerformanceProfiler(Session session)
          PUBLIC: Create a new dms profiler.

 

Method Summary
 Session getSession()
           
 java.lang.String getSessionName()
           
 java.lang.Object profileExecutionOfQuery(DatabaseQuery query, DatabaseRow row, Session session)
          INTERNAL: Finish a profile operation if profiling.
 void setSession(Session session)
          INTERNAL: Set the sesssion.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DMSPerformanceProfiler

public DMSPerformanceProfiler(Session session)
PUBLIC: Create a new dms profiler. The profiler can be registered with a session to log performance information.

Method Detail

getSession

public Session getSession()

getSessionName

public java.lang.String getSessionName()

setSession

public void setSession(Session session)
Description copied from interface: SessionProfiler
INTERNAL: Set the sesssion.
Specified by:
setSession in interface SessionProfiler

profileExecutionOfQuery

public java.lang.Object profileExecutionOfQuery(DatabaseQuery query,
                                                DatabaseRow row,
                                                Session session)
Description copied from interface: SessionProfiler
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.
Specified by:
profileExecutionOfQuery in interface SessionProfiler
Returns:
the execution result of the query.

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.