| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:38:46 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>PerformanceMonitor (EclipseLink 3.0.2, API Reference)</title> |
| <meta name="date" content="2021-07-16"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="PerformanceMonitor (EclipseLink 3.0.2, API Reference)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/persistence/tools/profiler/FetchGroupMonitor.html" title="class in org.eclipse.persistence.tools.profiler"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceProfiler.html" title="class in org.eclipse.persistence.tools.profiler"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/persistence/tools/profiler/PerformanceMonitor.html" target="_top">Frames</a></li> |
| <li><a href="PerformanceMonitor.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.persistence.tools.profiler</div> |
| <h2 title="Class PerformanceMonitor" class="title">Class PerformanceMonitor</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.persistence.tools.profiler.PerformanceMonitor</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">PerformanceMonitor</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></pre> |
| <div class="block"><p><b>Purpose</b>: A tool used to provide performance monitoring information in a server environment.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.eclipse.persistence.tools.profiler.PerformanceMonitor">Serialized Form</a></dd> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>James Sutherland</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>EclipseLink 2.2</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#COUNTER">COUNTER</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#dumpTime">dumpTime</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#lastDumpTime">lastDumpTime</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#operationStartTimesByThread">operationStartTimesByThread</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#operationTimings">operationTimings</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#profileWeight">profileWeight</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.sessions.AbstractSession</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#session">session</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#TIMER">TIMER</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.sessions.SessionProfiler"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.eclipse.persistence.sessions.<a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></h3> |
| <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ALL">ALL</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#AssignSequence">AssignSequence</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#CacheCoordination">CacheCoordination</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#CacheCoordinationSerialize">CacheCoordinationSerialize</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#CacheHits">CacheHits</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#CacheMisses">CacheMisses</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#CacheSize">CacheSize</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Caching">Caching</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ChangeSetsNotProcessed">ChangeSetsNotProcessed</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ChangeSetsProcessed">ChangeSetsProcessed</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ClientSessionCreated">ClientSessionCreated</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ClientSessionReleased">ClientSessionReleased</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ConnectionManagement">ConnectionManagement</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ConnectionPing">ConnectionPing</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Connects">Connects</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#DescriptorEvent">DescriptorEvent</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Disconnects">Disconnects</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#DistributedMerge">DistributedMerge</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#HEAVY">HEAVY</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#JtsAfterCompletion">JtsAfterCompletion</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#JtsBeforeCompletion">JtsBeforeCompletion</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Logging">Logging</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#LoginTime">LoginTime</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Merge">Merge</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#NONE">NONE</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#NORMAL">NORMAL</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#ObjectBuilding">ObjectBuilding</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#OptimisticLockException">OptimisticLockException</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#QueryPreparation">QueryPreparation</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RcmReceived">RcmReceived</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RcmSent">RcmSent</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RcmStatus">RcmStatus</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Register">Register</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Remote">Remote</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RemoteChangeSet">RemoteChangeSet</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RemoteLazy">RemoteLazy</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RemoteMetadata">RemoteMetadata</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#RowFetch">RowFetch</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#SessionEvent">SessionEvent</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#SessionName">SessionName</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#SqlGeneration">SqlGeneration</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#SqlPrepare">SqlPrepare</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#StatementExecute">StatementExecute</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#Transaction">Transaction</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#UowCommit">UowCommit</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#UowCommits">UowCommits</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#UowCreated">UowCreated</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#UowReleased">UowReleased</a>, <a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#UowRollbacks">UowRollbacks</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#PerformanceMonitor--">PerformanceMonitor</a></span>()</code> |
| <div class="block">PUBLIC: |
| Create a new profiler.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#checkDumpTime--">checkDumpTime</a></span>()</code> |
| <div class="block">Log the results after a set amount of time has passed.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html" title="class in org.eclipse.persistence.tools.profiler">PerformanceMonitor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#clone--">clone</a></span>()</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#dumpResults--">dumpResults</a></span>()</code> |
| <div class="block">Log the results to the session's log (System.out).</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#endOperationProfile-java.lang.String-">endOperationProfile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName)</code> |
| <div class="block">INTERNAL: |
| End the operation timing.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#endOperationProfile-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-int-">endOperationProfile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| int weight)</code> |
| <div class="block">INTERNAL: |
| End the operation timing.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getDumpTime--">getDumpTime</a></span>()</code> |
| <div class="block">Return the number of milliseconds after which the monitor results should be logged.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getOperationStartTimes--">getOperationStartTimes</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getOperationStartTimesByThread--">getOperationStartTimesByThread</a></span>()</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getOperationTime-java.lang.String-">getOperationTime</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operation)</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getOperationTimings--">getOperationTimings</a></span>()</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getProfileWeight--">getProfileWeight</a></span>()</code> |
| <div class="block">Return the level of profiling.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#getSession--">getSession</a></span>()</code> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#initialize--">initialize</a></span>()</code> |
| <div class="block">INTERNAL: |
| Initialize EclipseLink noun tree(DMS)</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#occurred-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">occurred</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Increase DMS Event sensor occurrence.(DMS)</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#occurred-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractSession-">occurred</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Increase DMS Event sensor occurrence.(DMS)</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#profileExecutionOfQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.sessions.Record-org.eclipse.persistence.internal.sessions.AbstractSession-">profileExecutionOfQuery</a></span>(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| <a href="../../../../../org/eclipse/persistence/sessions/Record.html" title="interface in org.eclipse.persistence.sessions">Record</a> row, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Monitoring is done on the endOperation only.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#setDumpTime-long-">setDumpTime</a></span>(long dumpTime)</code> |
| <div class="block">Set the number of milliseconds after which the monitor results should be logged.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#setProfileWeight-int-">setProfileWeight</a></span>(int profileWeight)</code> |
| <div class="block">Set the level of profiling.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#setSession-org.eclipse.persistence.sessions.Session-">setSession</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a> session)</code> |
| <div class="block">INTERNAL: |
| Set the session.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#startOperationProfile-java.lang.String-">startOperationProfile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName)</code> |
| <div class="block">INTERNAL: |
| Start the operation timing.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#startOperationProfile-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-int-">startOperationProfile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| int weight)</code> |
| <div class="block">INTERNAL: |
| Start the operation timing.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html#update-java.lang.String-java.lang.Object-">update</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">INTERNAL: |
| Update the value of the State sensor.(DMS)</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="COUNTER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>COUNTER</h4> |
| <pre>protected static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> COUNTER</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.persistence.tools.profiler.PerformanceMonitor.COUNTER">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="TIMER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TIMER</h4> |
| <pre>protected static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> TIMER</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.persistence.tools.profiler.PerformanceMonitor.TIMER">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="session"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>session</h4> |
| <pre>protected transient org.eclipse.persistence.internal.sessions.AbstractSession session</pre> |
| </li> |
| </ul> |
| <a name="operationTimings"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>operationTimings</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> operationTimings</pre> |
| </li> |
| </ul> |
| <a name="operationStartTimesByThread"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>operationStartTimesByThread</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>> operationStartTimesByThread</pre> |
| </li> |
| </ul> |
| <a name="lastDumpTime"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lastDumpTime</h4> |
| <pre>protected long lastDumpTime</pre> |
| </li> |
| </ul> |
| <a name="dumpTime"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dumpTime</h4> |
| <pre>protected long dumpTime</pre> |
| </li> |
| </ul> |
| <a name="profileWeight"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>profileWeight</h4> |
| <pre>protected int profileWeight</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="PerformanceMonitor--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PerformanceMonitor</h4> |
| <pre>public PerformanceMonitor()</pre> |
| <div class="block">PUBLIC: |
| Create a new profiler. |
| The profiler can be registered with a session to log performance information on queries.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getDumpTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDumpTime</h4> |
| <pre>public long getDumpTime()</pre> |
| <div class="block">Return the number of milliseconds after which the monitor results should be logged.</div> |
| </li> |
| </ul> |
| <a name="setDumpTime-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDumpTime</h4> |
| <pre>public void setDumpTime(long dumpTime)</pre> |
| <div class="block">Set the number of milliseconds after which the monitor results should be logged.</div> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceMonitor.html" title="class in org.eclipse.persistence.tools.profiler">PerformanceMonitor</a> clone()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkDumpTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkDumpTime</h4> |
| <pre>public void checkDumpTime()</pre> |
| <div class="block">Log the results after a set amount of time has passed.</div> |
| </li> |
| </ul> |
| <a name="dumpResults--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dumpResults</h4> |
| <pre>public void dumpResults()</pre> |
| <div class="block">Log the results to the session's log (System.out).</div> |
| </li> |
| </ul> |
| <a name="endOperationProfile-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endOperationProfile</h4> |
| <pre>public void endOperationProfile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName)</pre> |
| <div class="block">INTERNAL: |
| End the operation timing.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#endOperationProfile-java.lang.String-">endOperationProfile</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="endOperationProfile-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endOperationProfile</h4> |
| <pre>public void endOperationProfile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| int weight)</pre> |
| <div class="block">INTERNAL: |
| End the operation timing.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#endOperationProfile-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-int-">endOperationProfile</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getOperationStartTimes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperationStartTimes</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> getOperationStartTimes()</pre> |
| </li> |
| </ul> |
| <a name="getOperationStartTimesByThread--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperationStartTimesByThread</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>> getOperationStartTimesByThread()</pre> |
| </li> |
| </ul> |
| <a name="getOperationTime-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperationTime</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getOperationTime(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operation)</pre> |
| </li> |
| </ul> |
| <a name="getOperationTimings--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperationTimings</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> getOperationTimings()</pre> |
| </li> |
| </ul> |
| <a name="getSession--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSession</h4> |
| <pre>public org.eclipse.persistence.internal.sessions.AbstractSession getSession()</pre> |
| </li> |
| </ul> |
| <a name="profileExecutionOfQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.sessions.Record-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>profileExecutionOfQuery</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> profileExecutionOfQuery(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| <a href="../../../../../org/eclipse/persistence/sessions/Record.html" title="interface in org.eclipse.persistence.sessions">Record</a> row, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Monitoring is done on the endOperation only.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#profileExecutionOfQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.sessions.Record-org.eclipse.persistence.internal.sessions.AbstractSession-">profileExecutionOfQuery</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the execution result of the query.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSession-org.eclipse.persistence.sessions.Session-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSession</h4> |
| <pre>public void setSession(<a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a> session)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#setSession-org.eclipse.persistence.sessions.Session-">SessionProfiler</a></code></span></div> |
| <div class="block">INTERNAL: |
| Set the session.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#setSession-org.eclipse.persistence.sessions.Session-">setSession</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="startOperationProfile-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startOperationProfile</h4> |
| <pre>public void startOperationProfile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName)</pre> |
| <div class="block">INTERNAL: |
| Start the operation timing.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#startOperationProfile-java.lang.String-">startOperationProfile</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="startOperationProfile-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startOperationProfile</h4> |
| <pre>public void startOperationProfile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| int weight)</pre> |
| <div class="block">INTERNAL: |
| Start the operation timing.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#startOperationProfile-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-int-">startOperationProfile</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="update-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>update</h4> |
| <pre>public void update(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#update-java.lang.String-java.lang.Object-">SessionProfiler</a></code></span></div> |
| <div class="block">INTERNAL: |
| Update the value of the State sensor.(DMS)</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#update-java.lang.String-java.lang.Object-">update</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="occurred-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>occurred</h4> |
| <pre>public void occurred(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#occurred-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">SessionProfiler</a></code></span></div> |
| <div class="block">INTERNAL: |
| Increase DMS Event sensor occurrence.(DMS)</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#occurred-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">occurred</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="occurred-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>occurred</h4> |
| <pre>public void occurred(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> operationName, |
| <a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a> query, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#occurred-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractSession-">SessionProfiler</a></code></span></div> |
| <div class="block">INTERNAL: |
| Increase DMS Event sensor occurrence.(DMS)</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#occurred-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractSession-">occurred</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setProfileWeight-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProfileWeight</h4> |
| <pre>public void setProfileWeight(int profileWeight)</pre> |
| <div class="block">Set the level of profiling. |
| One of ALL, HEAVY, NORMAL, NONE. |
| The higher the level, the more operations are profiled.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#setProfileWeight-int-">setProfileWeight</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions"><code>SessionProfiler</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProfileWeight--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProfileWeight</h4> |
| <pre>public int getProfileWeight()</pre> |
| <div class="block">Return the level of profiling. |
| One of ALL, HEAVY, NORMAL, NONE.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#getProfileWeight--">getProfileWeight</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions"><code>SessionProfiler</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="initialize--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>initialize</h4> |
| <pre>public void initialize()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#initialize--">SessionProfiler</a></code></span></div> |
| <div class="block">INTERNAL: |
| Initialize EclipseLink noun tree(DMS)</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html#initialize--">initialize</a></code> in interface <code><a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/persistence/tools/profiler/FetchGroupMonitor.html" title="class in org.eclipse.persistence.tools.profiler"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/persistence/tools/profiler/PerformanceProfiler.html" title="class in org.eclipse.persistence.tools.profiler"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/persistence/tools/profiler/PerformanceMonitor.html" target="_top">Frames</a></li> |
| <li><a href="PerformanceMonitor.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |