<!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 (version 1.7.0_40) on Fri Oct 18 06:47:26 UTC 2013 --> <title>AbstractStatisticsRecorder (MX4J API)</title> <meta name="date" content="2013-10-18"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="AbstractStatisticsRecorder (MX4J API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="class-use/AbstractStatisticsRecorder.html">Use</a></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> <div class="subNav"> <ul class="navList"> <li>Prev Class</li> <li><a href="../../../mx4j/tools/stats/NotificationStatisticsRecorder.html" title="class in mx4j.tools.stats"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?mx4j/tools/stats/AbstractStatisticsRecorder.html" target="_top">Frames</a></li> <li><a href="AbstractStatisticsRecorder.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">mx4j.tools.stats</div> <h2 title="Class AbstractStatisticsRecorder" class="title">Class AbstractStatisticsRecorder</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>mx4j.tools.stats.AbstractStatisticsRecorder</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>javax.management.MBeanRegistration, <a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></dd> </dl> <dl> <dt>Direct Known Subclasses:</dt> <dd><a href="../../../mx4j/tools/stats/ObserverStatisticsRecorder.html" title="class in mx4j.tools.stats">ObserverStatisticsRecorder</a>, <a href="../../../mx4j/tools/stats/ValueStatisticsRecorder.html" title="class in mx4j.tools.stats">ValueStatisticsRecorder</a></dd> </dl> <hr> <br> <pre>public abstract class <span class="strong">AbstractStatisticsRecorder</span> extends java.lang.Object implements <a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a>, javax.management.MBeanRegistration</pre> <div class="block">Class AbstractStatisticsRecorder. Abstract Parent of the Stats collector classes. It implements some basic services</div> <dl><dt><span class="strong">Version:</span></dt> <dd>$Revision: 1.6 $</dd> <dt><span class="strong">See Also:</span></dt><dd><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats"><code>StatisticsRecorderMBean</code></a></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="overviewSummary" 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 double</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#averageValue">averageValue</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected long</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#count">count</a></strong></code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected java.util.SortedMap</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#entries">entries</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected boolean</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#isActive">isActive</a></strong></code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected boolean</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#isDouble">isDouble</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected int</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#maxEntries">maxEntries</a></strong></code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected double</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#maximumValue">maximumValue</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected double</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#minimumValue">minimumValue</a></strong></code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected java.util.Date</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#recordingStart">recordingStart</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected javax.management.MBeanServer</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#server">server</a></strong></code> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" 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><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#AbstractStatisticsRecorder()">AbstractStatisticsRecorder</a></strong>()</code> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#addEntry(java.util.Date, java.lang.Number)">addEntry</a></strong>(java.util.Date key, java.lang.Number value)</code> <div class="block">Adds an entry to the collection.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#doStart()">doStart</a></strong>()</code> <div class="block">Subclasses may override this to offer a custom startup procedure</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#doStop()">doStop</a></strong>()</code> <div class="block">Subclasses may override this to offer a custom stop procedure</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.lang.Number</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getAverage()">getAverage</a></strong>()</code> <div class="block">Returns the Average Value</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.SortedMap</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getEntries()">getEntries</a></strong>()</code> <div class="block">Returs a sorted map of the recorded values indexed by PointTime</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../mx4j/log/Logger.html" title="class in mx4j.log">Logger</a></code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getLogger()">getLogger</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.Number</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getMax()">getMax</a></strong>()</code> <div class="block">Returns the Maximum Value</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getMaxEntries()">getMaxEntries</a></strong>()</code> <div class="block">Returns how many entries may be recorded.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.Number</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getMin()">getMin</a></strong>()</code> <div class="block">Returns the Minimum Value</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Date</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#getRecordingStart()">getRecordingStart</a></strong>()</code> <div class="block">Returns the date when it started recording</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#isActive()">isActive</a></strong>()</code> <div class="block">Indicates whether the MBean is recording values</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#postDeregister()">postDeregister</a></strong>()</code> <div class="block">Callback called just after the MBean has been successfully unregistered.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#postRegister(java.lang.Boolean)">postRegister</a></strong>(java.lang.Boolean registrationDone)</code> <div class="block">Callback called just after the MBean has been registered (successfully or not).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#preDeregister()">preDeregister</a></strong>()</code> <div class="block">Callback called just before MBean unregistration from the MBeanServer.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>javax.management.ObjectName</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#preRegister(javax.management.MBeanServer, javax.management.ObjectName)">preRegister</a></strong>(javax.management.MBeanServer server, javax.management.ObjectName name)</code> <div class="block">Callback called just before MBean registration in the MBeanServer.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#setMaxEntries(int)">setMaxEntries</a></strong>(int maxEntries)</code> <div class="block">Sets the maximum entries stored in this recorder</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#start()">start</a></strong>()</code> <div class="block">Starts recording a variable</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../mx4j/tools/stats/AbstractStatisticsRecorder.html#stop()">stop</a></strong>()</code> <div class="block">Stops recording a variable</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.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="isActive"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isActive</h4> <pre>protected boolean isActive</pre> </li> </ul> <a name="server"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>server</h4> <pre>protected javax.management.MBeanServer server</pre> </li> </ul> <a name="maxEntries"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>maxEntries</h4> <pre>protected int maxEntries</pre> </li> </ul> <a name="entries"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>entries</h4> <pre>protected java.util.SortedMap entries</pre> </li> </ul> <a name="recordingStart"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>recordingStart</h4> <pre>protected java.util.Date recordingStart</pre> </li> </ul> <a name="isDouble"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isDouble</h4> <pre>protected boolean isDouble</pre> </li> </ul> <a name="minimumValue"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>minimumValue</h4> <pre>protected double minimumValue</pre> </li> </ul> <a name="maximumValue"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>maximumValue</h4> <pre>protected double maximumValue</pre> </li> </ul> <a name="averageValue"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>averageValue</h4> <pre>protected double averageValue</pre> </li> </ul> <a name="count"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>count</h4> <pre>protected long count</pre> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="AbstractStatisticsRecorder()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>AbstractStatisticsRecorder</h4> <pre>public AbstractStatisticsRecorder()</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getLogger()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLogger</h4> <pre>protected <a href="../../../mx4j/log/Logger.html" title="class in mx4j.log">Logger</a> getLogger()</pre> </li> </ul> <a name="start()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>start</h4> <pre>public void start()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#start()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Starts recording a variable</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#start()">start</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="stop()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>stop</h4> <pre>public void stop()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#stop()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Stops recording a variable</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#stop()">stop</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="getAverage()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAverage</h4> <pre>public java.lang.Number getAverage()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getAverage()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Returns the Average Value</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getAverage()">getAverage</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="getMin()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMin</h4> <pre>public java.lang.Number getMin()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getMin()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Returns the Minimum Value</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getMin()">getMin</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="getMax()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMax</h4> <pre>public java.lang.Number getMax()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getMax()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Returns the Maximum Value</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getMax()">getMax</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="isActive()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isActive</h4> <pre>public boolean isActive()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#isActive()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Indicates whether the MBean is recording values</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#isActive()">isActive</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="getMaxEntries()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMaxEntries</h4> <pre>public int getMaxEntries()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getMaxEntries()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Returns how many entries may be recorded. When the maximum amount is reached the default behaviour is to forget the oldest one</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getMaxEntries()">getMaxEntries</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="setMaxEntries(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setMaxEntries</h4> <pre>public void setMaxEntries(int maxEntries)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#setMaxEntries(int)">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Sets the maximum entries stored in this recorder</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#setMaxEntries(int)">setMaxEntries</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="getEntries()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getEntries</h4> <pre>public java.util.SortedMap getEntries()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getEntries()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Returs a sorted map of the recorded values indexed by PointTime</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getEntries()">getEntries</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="getRecordingStart()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRecordingStart</h4> <pre>public java.util.Date getRecordingStart()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getRecordingStart()">StatisticsRecorderMBean</a></code></strong></div> <div class="block">Returns the date when it started recording</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html#getRecordingStart()">getRecordingStart</a></code> in interface <code><a href="../../../mx4j/tools/stats/StatisticsRecorderMBean.html" title="interface in mx4j.tools.stats">StatisticsRecorderMBean</a></code></dd> </dl> </li> </ul> <a name="preRegister(javax.management.MBeanServer, javax.management.ObjectName)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>preRegister</h4> <pre>public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception</pre> <div class="block"><strong>Description copied from interface: <code>javax.management.MBeanRegistration</code></strong></div> <div class="block">Callback called just before MBean registration in the MBeanServer. Any exception thrown by this method will cause the MBean registration to abort.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>preRegister</code> in interface <code>javax.management.MBeanRegistration</code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>server</code> - The MBeanServer on which the MBean will be registered.</dd><dd><code>name</code> - The <code>ObjectName</code> of the MBean.</dd> <dt><span class="strong">Returns:</span></dt><dd>The <code>ObjectName</code> of the registered MBean, must not be null</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.Exception</code> - Any possible exception generated by this method will be caught by the <code>MBeanServer</code> and re-thrown as an <code>MBeanRegistrationException</code> to the client.</dd></dl> </li> </ul> <a name="postRegister(java.lang.Boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>postRegister</h4> <pre>public void postRegister(java.lang.Boolean registrationDone)</pre> <div class="block"><strong>Description copied from interface: <code>javax.management.MBeanRegistration</code></strong></div> <div class="block">Callback called just after the MBean has been registered (successfully or not).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>postRegister</code> in interface <code>javax.management.MBeanRegistration</code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>registrationDone</code> - True if the registration was successful, false otherwise.</dd></dl> </li> </ul> <a name="preDeregister()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>preDeregister</h4> <pre>public void preDeregister() throws java.lang.Exception</pre> <div class="block"><strong>Description copied from interface: <code>javax.management.MBeanRegistration</code></strong></div> <div class="block">Callback called just before MBean unregistration from the MBeanServer. Any exception thrown by this method will cause the MBean unregistration to abort.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>preDeregister</code> in interface <code>javax.management.MBeanRegistration</code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.Exception</code> - Any possible exception generated by this method will be caught by the <code>MBeanServer</code> and re-thrown as an <code>MBeanRegistrationException</code> to the client.</dd></dl> </li> </ul> <a name="postDeregister()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>postDeregister</h4> <pre>public void postDeregister()</pre> <div class="block"><strong>Description copied from interface: <code>javax.management.MBeanRegistration</code></strong></div> <div class="block">Callback called just after the MBean has been successfully unregistered.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>postDeregister</code> in interface <code>javax.management.MBeanRegistration</code></dd> </dl> </li> </ul> <a name="doStart()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>doStart</h4> <pre>protected void doStart() throws java.lang.Exception</pre> <div class="block">Subclasses may override this to offer a custom startup procedure</div> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.Exception</code></dd></dl> </li> </ul> <a name="doStop()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>doStop</h4> <pre>protected void doStop() throws java.lang.Exception</pre> <div class="block">Subclasses may override this to offer a custom stop procedure</div> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.Exception</code></dd></dl> </li> </ul> <a name="addEntry(java.util.Date, java.lang.Number)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>addEntry</h4> <pre>protected void addEntry(java.util.Date key, java.lang.Number value)</pre> <div class="block">Adds an entry to the collection. It also reduces the size if too big and updates the statics</div> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="class-use/AbstractStatisticsRecorder.html">Use</a></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> <div class="subNav"> <ul class="navList"> <li>Prev Class</li> <li><a href="../../../mx4j/tools/stats/NotificationStatisticsRecorder.html" title="class in mx4j.tools.stats"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?mx4j/tools/stats/AbstractStatisticsRecorder.html" target="_top">Frames</a></li> <li><a href="AbstractStatisticsRecorder.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><center><small>Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center></small></p> </body> </html>