| <!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_07) on Sat Oct 06 02:25:55 CEST 2012 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>IoServiceStatistics (Apache MINA 2.0.7 API)</title> |
| <meta name="date" content="2012-10-06"> |
| <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="IoServiceStatistics (Apache MINA 2.0.7 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/IoServiceStatistics.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><a href="../../../../../org/apache/mina/core/service/IoServiceListenerSupport.html" title="class in org.apache.mina.core.service"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/mina/core/service/SimpleIoProcessorPool.html" title="class in org.apache.mina.core.service"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/mina/core/service/IoServiceStatistics.html" target="_top">Frames</a></li> |
| <li><a href="IoServiceStatistics.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>Field | </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>Field | </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.apache.mina.core.service</div> |
| <h2 title="Class IoServiceStatistics" class="title">Class IoServiceStatistics</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/1.5.0/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.apache.mina.core.service.IoServiceStatistics</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">IoServiceStatistics</span> |
| extends <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">Provides usage statistics for an <a href="../../../../../org/apache/mina/core/service/AbstractIoService.html" title="class in org.apache.mina.core.service"><code>AbstractIoService</code></a> instance.</div> |
| <dl><dt><span class="strong">Since:</span></dt> |
| <dd>2.0.0-M3</dd> |
| <dt><span class="strong">Author:</span></dt> |
| <dd><a href="http://mina.apache.org">Apache MINA Project</a></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== 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="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#IoServiceStatistics(org.apache.mina.core.service.AbstractIoService)">IoServiceStatistics</a></strong>(<a href="../../../../../org/apache/mina/core/service/AbstractIoService.html" title="class in org.apache.mina.core.service">AbstractIoService</a> service)</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>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#decreaseScheduledWriteMessages()">decreaseScheduledWriteMessages</a></strong>()</code> |
| <div class="block">Decrements by 1 the count of messages scheduled for write.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getCumulativeManagedSessionCount()">getCumulativeManagedSessionCount</a></strong>()</code> |
| <div class="block">Returns the cumulative number of sessions which were managed (or are |
| being managed) by this service, which means 'currently managed session |
| count + closed session count'.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLargestManagedSessionCount()">getLargestManagedSessionCount</a></strong>()</code> |
| <div class="block">Returns the maximum number of sessions which were being managed at the |
| same time.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLargestReadBytesThroughput()">getLargestReadBytesThroughput</a></strong>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadBytesThroughput()"><code>readBytesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLargestReadMessagesThroughput()">getLargestReadMessagesThroughput</a></strong>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadMessagesThroughput()"><code>readMessagesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLargestWrittenBytesThroughput()">getLargestWrittenBytesThroughput</a></strong>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenBytesThroughput()"><code>writtenBytesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLargestWrittenMessagesThroughput()">getLargestWrittenMessagesThroughput</a></strong>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenMessagesThroughput()"><code>writtenMessagesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLastIoTime()">getLastIoTime</a></strong>()</code> |
| <div class="block">Returns the time in millis when I/O occurred lastly.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLastReadTime()">getLastReadTime</a></strong>()</code> |
| <div class="block">Returns the time in millis when read operation occurred lastly.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getLastWriteTime()">getLastWriteTime</a></strong>()</code> |
| <div class="block">Returns the time in millis when write operation occurred lastly.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadBytes()">getReadBytes</a></strong>()</code> |
| <div class="block">Returns the number of bytes read by this service</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadBytesThroughput()">getReadBytesThroughput</a></strong>()</code> |
| <div class="block">Returns the number of read bytes per second.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadMessages()">getReadMessages</a></strong>()</code> |
| <div class="block">Returns the number of messages this services has read</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadMessagesThroughput()">getReadMessagesThroughput</a></strong>()</code> |
| <div class="block">Returns the number of read messages per second.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getScheduledWriteBytes()">getScheduledWriteBytes</a></strong>()</code> |
| <div class="block">Returns the count of bytes scheduled for write.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getScheduledWriteMessages()">getScheduledWriteMessages</a></strong>()</code> |
| <div class="block">Returns the count of messages scheduled for write.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getThroughputCalculationInterval()">getThroughputCalculationInterval</a></strong>()</code> |
| <div class="block">Returns the interval (seconds) between each throughput calculation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getThroughputCalculationIntervalInMillis()">getThroughputCalculationIntervalInMillis</a></strong>()</code> |
| <div class="block">Returns the interval (milliseconds) between each throughput calculation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenBytes()">getWrittenBytes</a></strong>()</code> |
| <div class="block">Returns the number of bytes written out by this service</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenBytesThroughput()">getWrittenBytesThroughput</a></strong>()</code> |
| <div class="block">Returns the number of written bytes per second.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenMessages()">getWrittenMessages</a></strong>()</code> |
| <div class="block">Returns the number of messages this service has written</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenMessagesThroughput()">getWrittenMessagesThroughput</a></strong>()</code> |
| <div class="block">Returns the number of written messages per second.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#increaseReadBytes(long, long)">increaseReadBytes</a></strong>(long increment, |
| long currentTime)</code> |
| <div class="block">Increases the count of read bytes by <code>increment</code> and sets |
| the last read time to <code>currentTime</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#increaseReadMessages(long)">increaseReadMessages</a></strong>(long currentTime)</code> |
| <div class="block">Increases the count of read messages by 1 and sets the last read time to |
| <code>currentTime</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#increaseScheduledWriteBytes(int)">increaseScheduledWriteBytes</a></strong>(int increment)</code> |
| <div class="block">Increments by <code>increment</code> the count of bytes scheduled for write.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#increaseScheduledWriteMessages()">increaseScheduledWriteMessages</a></strong>()</code> |
| <div class="block">Increments by 1 the count of messages scheduled for write.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#increaseWrittenBytes(int, long)">increaseWrittenBytes</a></strong>(int increment, |
| long currentTime)</code> |
| <div class="block">Increases the count of written bytes by <code>increment</code> and sets |
| the last write time to <code>currentTime</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#increaseWrittenMessages(long)">increaseWrittenMessages</a></strong>(long currentTime)</code> |
| <div class="block">Increases the count of written messages by 1 and sets the last write time to |
| <code>currentTime</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#setLastReadTime(long)">setLastReadTime</a></strong>(long lastReadTime)</code> |
| <div class="block">Sets last time at which a read occurred on the service.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#setLastThroughputCalculationTime(long)">setLastThroughputCalculationTime</a></strong>(long lastThroughputCalculationTime)</code> |
| <div class="block">Sets the time at which throughtput counters where updated.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#setLastWriteTime(long)">setLastWriteTime</a></strong>(long lastWriteTime)</code> |
| <div class="block">Sets last time at which a write occurred on the service.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#setThroughputCalculationInterval(int)">setThroughputCalculationInterval</a></strong>(int throughputCalculationInterval)</code> |
| <div class="block">Sets the interval (seconds) between each throughput calculation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#updateThroughput(long)">updateThroughput</a></strong>(long currentTime)</code> |
| <div class="block">Updates the throughput counters.</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="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/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"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="IoServiceStatistics(org.apache.mina.core.service.AbstractIoService)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>IoServiceStatistics</h4> |
| <pre>public IoServiceStatistics(<a href="../../../../../org/apache/mina/core/service/AbstractIoService.html" title="class in org.apache.mina.core.service">AbstractIoService</a> service)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getLargestManagedSessionCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestManagedSessionCount</h4> |
| <pre>public final int getLargestManagedSessionCount()</pre> |
| <div class="block">Returns the maximum number of sessions which were being managed at the |
| same time.</div> |
| </li> |
| </ul> |
| <a name="getCumulativeManagedSessionCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCumulativeManagedSessionCount</h4> |
| <pre>public final long getCumulativeManagedSessionCount()</pre> |
| <div class="block">Returns the cumulative number of sessions which were managed (or are |
| being managed) by this service, which means 'currently managed session |
| count + closed session count'.</div> |
| </li> |
| </ul> |
| <a name="getLastIoTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastIoTime</h4> |
| <pre>public final long getLastIoTime()</pre> |
| <div class="block">Returns the time in millis when I/O occurred lastly.</div> |
| </li> |
| </ul> |
| <a name="getLastReadTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastReadTime</h4> |
| <pre>public final long getLastReadTime()</pre> |
| <div class="block">Returns the time in millis when read operation occurred lastly.</div> |
| </li> |
| </ul> |
| <a name="getLastWriteTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastWriteTime</h4> |
| <pre>public final long getLastWriteTime()</pre> |
| <div class="block">Returns the time in millis when write operation occurred lastly.</div> |
| </li> |
| </ul> |
| <a name="getReadBytes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadBytes</h4> |
| <pre>public final long getReadBytes()</pre> |
| <div class="block">Returns the number of bytes read by this service</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>The number of bytes this service has read</dd></dl> |
| </li> |
| </ul> |
| <a name="getWrittenBytes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenBytes</h4> |
| <pre>public final long getWrittenBytes()</pre> |
| <div class="block">Returns the number of bytes written out by this service</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>The number of bytes this service has written</dd></dl> |
| </li> |
| </ul> |
| <a name="getReadMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadMessages</h4> |
| <pre>public final long getReadMessages()</pre> |
| <div class="block">Returns the number of messages this services has read</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>The number of messages this services has read</dd></dl> |
| </li> |
| </ul> |
| <a name="getWrittenMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenMessages</h4> |
| <pre>public final long getWrittenMessages()</pre> |
| <div class="block">Returns the number of messages this service has written</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>The number of messages this service has written</dd></dl> |
| </li> |
| </ul> |
| <a name="getReadBytesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadBytesThroughput</h4> |
| <pre>public final double getReadBytesThroughput()</pre> |
| <div class="block">Returns the number of read bytes per second.</div> |
| </li> |
| </ul> |
| <a name="getWrittenBytesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenBytesThroughput</h4> |
| <pre>public final double getWrittenBytesThroughput()</pre> |
| <div class="block">Returns the number of written bytes per second.</div> |
| </li> |
| </ul> |
| <a name="getReadMessagesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadMessagesThroughput</h4> |
| <pre>public final double getReadMessagesThroughput()</pre> |
| <div class="block">Returns the number of read messages per second.</div> |
| </li> |
| </ul> |
| <a name="getWrittenMessagesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenMessagesThroughput</h4> |
| <pre>public final double getWrittenMessagesThroughput()</pre> |
| <div class="block">Returns the number of written messages per second.</div> |
| </li> |
| </ul> |
| <a name="getLargestReadBytesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestReadBytesThroughput</h4> |
| <pre>public final double getLargestReadBytesThroughput()</pre> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadBytesThroughput()"><code>readBytesThroughput</code></a>.</div> |
| </li> |
| </ul> |
| <a name="getLargestWrittenBytesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestWrittenBytesThroughput</h4> |
| <pre>public final double getLargestWrittenBytesThroughput()</pre> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenBytesThroughput()"><code>writtenBytesThroughput</code></a>.</div> |
| </li> |
| </ul> |
| <a name="getLargestReadMessagesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestReadMessagesThroughput</h4> |
| <pre>public final double getLargestReadMessagesThroughput()</pre> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getReadMessagesThroughput()"><code>readMessagesThroughput</code></a>.</div> |
| </li> |
| </ul> |
| <a name="getLargestWrittenMessagesThroughput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestWrittenMessagesThroughput</h4> |
| <pre>public final double getLargestWrittenMessagesThroughput()</pre> |
| <div class="block">Returns the maximum of the <a href="../../../../../org/apache/mina/core/service/IoServiceStatistics.html#getWrittenMessagesThroughput()"><code>writtenMessagesThroughput</code></a>.</div> |
| </li> |
| </ul> |
| <a name="getThroughputCalculationInterval()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThroughputCalculationInterval</h4> |
| <pre>public final int getThroughputCalculationInterval()</pre> |
| <div class="block">Returns the interval (seconds) between each throughput calculation. |
| The default value is <tt>3</tt> seconds.</div> |
| </li> |
| </ul> |
| <a name="getThroughputCalculationIntervalInMillis()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThroughputCalculationIntervalInMillis</h4> |
| <pre>public final long getThroughputCalculationIntervalInMillis()</pre> |
| <div class="block">Returns the interval (milliseconds) between each throughput calculation. |
| The default value is <tt>3</tt> seconds.</div> |
| </li> |
| </ul> |
| <a name="setThroughputCalculationInterval(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setThroughputCalculationInterval</h4> |
| <pre>public final void setThroughputCalculationInterval(int throughputCalculationInterval)</pre> |
| <div class="block">Sets the interval (seconds) between each throughput calculation. The |
| default value is <tt>3</tt> seconds.</div> |
| </li> |
| </ul> |
| <a name="setLastReadTime(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLastReadTime</h4> |
| <pre>protected final void setLastReadTime(long lastReadTime)</pre> |
| <div class="block">Sets last time at which a read occurred on the service.</div> |
| </li> |
| </ul> |
| <a name="setLastWriteTime(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLastWriteTime</h4> |
| <pre>protected final void setLastWriteTime(long lastWriteTime)</pre> |
| <div class="block">Sets last time at which a write occurred on the service.</div> |
| </li> |
| </ul> |
| <a name="updateThroughput(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateThroughput</h4> |
| <pre>public void updateThroughput(long currentTime)</pre> |
| <div class="block">Updates the throughput counters.</div> |
| </li> |
| </ul> |
| <a name="increaseReadBytes(long, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseReadBytes</h4> |
| <pre>public final void increaseReadBytes(long increment, |
| long currentTime)</pre> |
| <div class="block">Increases the count of read bytes by <code>increment</code> and sets |
| the last read time to <code>currentTime</code>.</div> |
| </li> |
| </ul> |
| <a name="increaseReadMessages(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseReadMessages</h4> |
| <pre>public final void increaseReadMessages(long currentTime)</pre> |
| <div class="block">Increases the count of read messages by 1 and sets the last read time to |
| <code>currentTime</code>.</div> |
| </li> |
| </ul> |
| <a name="increaseWrittenBytes(int, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseWrittenBytes</h4> |
| <pre>public final void increaseWrittenBytes(int increment, |
| long currentTime)</pre> |
| <div class="block">Increases the count of written bytes by <code>increment</code> and sets |
| the last write time to <code>currentTime</code>.</div> |
| </li> |
| </ul> |
| <a name="increaseWrittenMessages(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseWrittenMessages</h4> |
| <pre>public final void increaseWrittenMessages(long currentTime)</pre> |
| <div class="block">Increases the count of written messages by 1 and sets the last write time to |
| <code>currentTime</code>.</div> |
| </li> |
| </ul> |
| <a name="getScheduledWriteBytes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheduledWriteBytes</h4> |
| <pre>public final int getScheduledWriteBytes()</pre> |
| <div class="block">Returns the count of bytes scheduled for write.</div> |
| </li> |
| </ul> |
| <a name="increaseScheduledWriteBytes(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseScheduledWriteBytes</h4> |
| <pre>public final void increaseScheduledWriteBytes(int increment)</pre> |
| <div class="block">Increments by <code>increment</code> the count of bytes scheduled for write.</div> |
| </li> |
| </ul> |
| <a name="getScheduledWriteMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheduledWriteMessages</h4> |
| <pre>public final int getScheduledWriteMessages()</pre> |
| <div class="block">Returns the count of messages scheduled for write.</div> |
| </li> |
| </ul> |
| <a name="increaseScheduledWriteMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseScheduledWriteMessages</h4> |
| <pre>public final void increaseScheduledWriteMessages()</pre> |
| <div class="block">Increments by 1 the count of messages scheduled for write.</div> |
| </li> |
| </ul> |
| <a name="decreaseScheduledWriteMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decreaseScheduledWriteMessages</h4> |
| <pre>public final void decreaseScheduledWriteMessages()</pre> |
| <div class="block">Decrements by 1 the count of messages scheduled for write.</div> |
| </li> |
| </ul> |
| <a name="setLastThroughputCalculationTime(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setLastThroughputCalculationTime</h4> |
| <pre>protected void setLastThroughputCalculationTime(long lastThroughputCalculationTime)</pre> |
| <div class="block">Sets the time at which throughtput counters where updated.</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/IoServiceStatistics.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><a href="../../../../../org/apache/mina/core/service/IoServiceListenerSupport.html" title="class in org.apache.mina.core.service"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/mina/core/service/SimpleIoProcessorPool.html" title="class in org.apache.mina.core.service"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/mina/core/service/IoServiceStatistics.html" target="_top">Frames</a></li> |
| <li><a href="IoServiceStatistics.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>Field | </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>Field | </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 © 2004-2012 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |