📄 abstractioservice.html
字号:
<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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.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/AbstractIoService.html#getWrittenMessagesThroughput()">getWrittenMessagesThroughput</A></B>()</CODE><BR> Returns the number of written messages per second.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/AbstractIoService.html#increaseReadBytes(long, long)">increaseReadBytes</A></B>(long increment, long currentTime)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/AbstractIoService.html#increaseReadMessages(long)">increaseReadMessages</A></B>(long currentTime)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/AbstractIoService.html#increaseScheduledWriteBytes(long)">increaseScheduledWriteBytes</A></B>(long increment)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/AbstractIoService.html#increaseScheduledWriteMessages()">increaseScheduledWriteMessages</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/AbstractIoService.html#increaseWrittenBytes(long, long)">increaseWrittenBytes</A></B>(long increment, long currentTime)</CODE><BR> </TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -