Package sk.iway.iwcm.system.jpa
Class WebJETPerformanceProfiler
java.lang.Object
org.eclipse.persistence.sessions.SessionProfilerAdapter
org.eclipse.persistence.tools.profiler.PerformanceProfiler
sk.iway.iwcm.system.jpa.WebJETPerformanceProfiler
- All Implemented Interfaces:
Serializable,Cloneable,org.eclipse.persistence.sessions.SessionProfiler
public class WebJETPerformanceProfiler
extends org.eclipse.persistence.tools.profiler.PerformanceProfiler
Purpose: A tool used to provide high level performance profiling information.
- Since:
- TopLink 1.0
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.tools.profiler.PerformanceProfiler
nestLevel, nestTime, operationStartTimesByThread, operationTimingsByThread, profiles, profileTime, session, shouldLogProfileFields inherited from interface org.eclipse.persistence.sessions.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendOperationProfile(String operationName) INTERNAL: End the operation timing.getQueryString(org.eclipse.persistence.queries.DatabaseQuery query) profileExecutionOfQuery(org.eclipse.persistence.queries.DatabaseQuery query, org.eclipse.persistence.sessions.Record row, org.eclipse.persistence.internal.sessions.AbstractSession session) INTERNAL: Finish a profile operation if profiling.booleanvoidwriteProfile(StringBuilder sb, org.eclipse.persistence.tools.profiler.Profile profile) Methods inherited from class org.eclipse.persistence.tools.profiler.PerformanceProfiler
addProfile, buildProfileSummary, buildProfileSummaryByClass, buildProfileSummaryByQuery, clone, dontLogProfile, endOperationProfile, getNestLevel, getNestTime, getOperationStartTimes, getOperationStartTimesByThread, getOperationTimings, getOperationTimingsByThread, getProfiles, getProfileTime, getProfileWeight, getSession, initialize, logProfile, logProfileSummary, logProfileSummaryByClass, logProfileSummaryByQuery, setNestLevel, setNestTime, setOperationStartTimes, setOperationStartTimesByThread, setOperationTimings, setOperationTimingsByThread, setProfiles, setProfileTime, setSession, setShouldLogProfile, startOperationProfile, startOperationProfile, writeNestingTabsMethods inherited from class org.eclipse.persistence.sessions.SessionProfilerAdapter
occurred, occurred, setProfileWeight, update
-
Constructor Details
-
WebJETPerformanceProfiler
public WebJETPerformanceProfiler()
-
-
Method Details
-
shouldLogProfile
public boolean shouldLogProfile()- Overrides:
shouldLogProfilein classorg.eclipse.persistence.tools.profiler.PerformanceProfiler
-
profileExecutionOfQuery
public Object profileExecutionOfQuery(org.eclipse.persistence.queries.DatabaseQuery query, org.eclipse.persistence.sessions.Record row, org.eclipse.persistence.internal.sessions.AbstractSession session) 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.- Specified by:
profileExecutionOfQueryin interfaceorg.eclipse.persistence.sessions.SessionProfiler- Overrides:
profileExecutionOfQueryin classorg.eclipse.persistence.tools.profiler.PerformanceProfiler- Returns:
- the execution result of the query.
-
endOperationProfile
INTERNAL: End the operation timing. Overridnute s cielom odstranit vypis nechcenych profilov do logu- Specified by:
endOperationProfilein interfaceorg.eclipse.persistence.sessions.SessionProfiler- Overrides:
endOperationProfilein classorg.eclipse.persistence.tools.profiler.PerformanceProfiler
-
writeProfile
-
getQueryString
-