📄 ioservice.html
字号:
<TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLargestReadMessagesThroughput()">getLargestReadMessagesThroughput</A></B>()</CODE><BR> Returns the maximum of the <A HREF="../../../../org/apache/mina/common/IoService.html#getReadMessagesThroughput()"><CODE>readMessagesThroughput</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLargestWrittenBytesThroughput()">getLargestWrittenBytesThroughput</A></B>()</CODE><BR> Returns the maximum of the <A HREF="../../../../org/apache/mina/common/IoService.html#getWrittenBytesThroughput()"><CODE>writtenBytesThroughput</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLargestWrittenMessagesThroughput()">getLargestWrittenMessagesThroughput</A></B>()</CODE><BR> Returns the maximum of the <A HREF="../../../../org/apache/mina/common/IoService.html#getWrittenMessagesThroughput()"><CODE>writtenMessagesThroughput</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastBothIdleTime()">getLastBothIdleTime</A></B>()</CODE><BR> Returns the time in milliseconds when the last <tt>serviceIdle</tt> event is fired for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><CODE>IdleStatus.BOTH_IDLE</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastIdleTime(org.apache.mina.common.IdleStatus)">getLastIdleTime</A></B>(<A HREF="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</A> status)</CODE><BR> Returns the time in milliseconds when the last <tt>serviceIdle</tt> event is fired for the specified <A HREF="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><CODE>IdleStatus</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastIoTime()">getLastIoTime</A></B>()</CODE><BR> Returns the time in millis when I/O occurred lastly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastReaderIdleTime()">getLastReaderIdleTime</A></B>()</CODE><BR> Returns the time in milliseconds when the last <tt>serviceIdle</tt> event is fired for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><CODE>IdleStatus.READER_IDLE</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastReadTime()">getLastReadTime</A></B>()</CODE><BR> Returns the time in millis when read operation occurred lastly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastWriterIdleTime()">getLastWriterIdleTime</A></B>()</CODE><BR> Returns the time in milliseconds when the last <tt>serviceIdle</tt> event is fired for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><CODE>IdleStatus.WRITER_IDLE</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getLastWriteTime()">getLastWriteTime</A></B>()</CODE><BR> Returns the time in millis when write operation occurred lastly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getManagedSessionCount()">getManagedSessionCount</A></B>()</CODE><BR> Returns the number of all sessions which are currently managed by this service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getManagedSessions()">getManagedSessions</A></B>()</CODE><BR> Returns all sessions which are currently managed by this service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReadBytes()">getReadBytes</A></B>()</CODE><BR> Returns the number of bytes read by this service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReadBytesThroughput()">getReadBytesThroughput</A></B>()</CODE><BR> Returns the number of read bytes per second.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReaderIdleCount()">getReaderIdleCount</A></B>()</CODE><BR> Returns the number of the fired continuous <tt>serviceIdle</tt> events for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><CODE>IdleStatus.READER_IDLE</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReaderIdleTime()">getReaderIdleTime</A></B>()</CODE><BR> Returns idle time for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><CODE>IdleStatus.READER_IDLE</CODE></A> in seconds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReaderIdleTimeInMillis()">getReaderIdleTimeInMillis</A></B>()</CODE><BR> Returns idle time for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><CODE>IdleStatus.READER_IDLE</CODE></A> in milliseconds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReadMessages()">getReadMessages</A></B>()</CODE><BR> Returns the number of messages this services has read</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getReadMessagesThroughput()">getReadMessagesThroughput</A></B>()</CODE><BR> Returns the number of read messages per second.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getScheduledWriteBytes()">getScheduledWriteBytes</A></B>()</CODE><BR> Returns the number of bytes scheduled to be written</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getScheduledWriteMessages()">getScheduledWriteMessages</A></B>()</CODE><BR> Returns the number of messages scheduled to be written</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getSessionConfig()">getSessionConfig</A></B>()</CODE><BR> Returns the default configuration of the new <A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><CODE>IoSession</CODE></A>s created by this service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getSessionDataStructureFactory()">getSessionDataStructureFactory</A></B>()</CODE><BR> Returns the <A HREF="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common"><CODE>IoSessionDataStructureFactory</CODE></A> that provides related data structures for a new session created by this service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getThroughputCalculationInterval()">getThroughputCalculationInterval</A></B>()</CODE><BR> Returns the interval (seconds) between each throughput calculation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getThroughputCalculationIntervalInMillis()">getThroughputCalculationIntervalInMillis</A></B>()</CODE><BR> Returns the interval (milliseconds) between each throughput calculation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common">TransportMetadata</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getTransportMetadata()">getTransportMetadata</A></B>()</CODE><BR> Returns the <A HREF="../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common"><CODE>TransportMetadata</CODE></A> that this service runs on.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWriterIdleCount()">getWriterIdleCount</A></B>()</CODE><BR> Returns the number of the fired continuous <tt>serviceIdle</tt> events for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><CODE>IdleStatus.WRITER_IDLE</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWriterIdleTime()">getWriterIdleTime</A></B>()</CODE><BR> Returns idle time for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><CODE>IdleStatus.WRITER_IDLE</CODE></A> in seconds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWriterIdleTimeInMillis()">getWriterIdleTimeInMillis</A></B>()</CODE><BR> Returns idle time for <A HREF="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><CODE>IdleStatus.WRITER_IDLE</CODE></A> in milliseconds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWrittenBytes()">getWrittenBytes</A></B>()</CODE><BR> Returns the number of bytes written out by this service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWrittenBytesThroughput()">getWrittenBytesThroughput</A></B>()</CODE><BR> Returns the number of written bytes per second.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWrittenMessages()">getWrittenMessages</A></B>()</CODE><BR> Returns the number of messages this service has written</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoService.html#getWrittenMessagesThroughput()">getWrittenMessagesThroughput</A></B>()</CODE><BR> Returns the number of written messages per second.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -