亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? executorfilter.html

?? MINA+API 關于MINA的API
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.6.0_04) on Tue Feb 19 10:50:44 MST 2008 --><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><TITLE>ExecutorFilter (Apache MINA 2.0.0-M1 API Documentation)</TITLE><META NAME="date" CONTENT="2008-02-19"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    if (location.href.indexOf('is-external=true') == -1) {        parent.document.title="ExecutorFilter (Apache MINA 2.0.0-M1 API Documentation)";    }}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><HR><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ExecutorFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../org/apache/mina/filter/executor/DefaultIoEventSizeEstimator.html" title="class in org.apache.mina.filter.executor"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../org/apache/mina/filter/executor/IoEventQueueHandler.html" title="interface in org.apache.mina.filter.executor"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?org/apache/mina/filter/executor/ExecutorFilter.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ExecutorFilter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.apache.mina.filter.executor</FONT><BR>Class ExecutorFilter</H2><PRE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/mina/common/IoFilterAdapter.html" title="class in org.apache.mina.common">org.apache.mina.common.IoFilterAdapter</A>      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.mina.filter.executor.ExecutorFilter</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A></DD></DL><HR><DL><DT><PRE>public class <B>ExecutorFilter</B><DT>extends <A HREF="../../../../../org/apache/mina/common/IoFilterAdapter.html" title="class in org.apache.mina.common">IoFilterAdapter</A></DL></PRE><P>A filter that forwards I/O events to <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>Executor</CODE></A> to enforce a certain thread model while allowing the events per session to be processed simultaneously. You can apply various thread model by inserting this filter to a <A HREF="../../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common"><CODE>IoFilterChain</CODE></A>.  <h2>Life Cycle Management</h2>  Please note that this filter doesn't manage the life cycle of the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>Executor</CODE></A>. If you created this filter using <A HREF="../../../../../org/apache/mina/filter/executor/ExecutorFilter.html#ExecutorFilter(java.util.concurrent.Executor)"><CODE>ExecutorFilter(Executor)</CODE></A> or similar constructor that accepts an <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>Executor</CODE></A> that you've instantiated, you have full control and responsibility of managing its life cycle (e.g. calling <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ExecutorService.html?is-external=true#shutdown()" title="class or interface in java.util.concurrent"><CODE>ExecutorService.shutdown()</CODE></A>. <p>  If you created this filter using convenience constructors like <A HREF="../../../../../org/apache/mina/filter/executor/ExecutorFilter.html#ExecutorFilter(int)"><CODE>ExecutorFilter(int)</CODE></A>, then you can shut down the executor by calling <A HREF="../../../../../org/apache/mina/filter/executor/ExecutorFilter.html#destroy()"><CODE>destroy()</CODE></A> explicitly.  <h2>Event Ordering</h2>  All convenience constructors of this filter creates a new <A HREF="../../../../../org/apache/mina/filter/executor/OrderedThreadPoolExecutor.html" title="class in org.apache.mina.filter.executor"><CODE>OrderedThreadPoolExecutor</CODE></A> instance.  Therefore, the order of event is maintained like the following: <ul> <li>All event handler methods are called exclusively.     (e.g. messageReceived and messageSent can't be invoked at the same time.)</li> <li>The event order is never mixed up.     (e.g. messageReceived is always invoked before sessionClosed or messageSent.)</li> </ul> However, if you specified other <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>Executor</CODE></A> instance in the constructor, the order of events are not maintained at all.  This means more than one event handler methods can be invoked at the same time with mixed order.  For example, let's assume that messageReceived, messageSent, and sessionClosed events are fired. <ul> <li>All event handler methods can be called simultaneously.     (e.g. messageReceived and messageSent can be invoked at the same time.)</li> <li>The event order can be mixed up.     (e.g. sessionClosed or messageSent can be invoked before messageReceived           is invoked.)</li> </ul> If you need to maintain the order of events per session, please specify an <A HREF="../../../../../org/apache/mina/filter/executor/OrderedThreadPoolExecutor.html" title="class in org.apache.mina.filter.executor"><CODE>OrderedThreadPoolExecutor</CODE></A> instance or use the convenience constructors.  <h2>Selective Filtering</h2>  By default, all event types but <tt>sessionCreated</tt>, <tt>filterWrite</tt>, <tt>filterClose</tt> and <tt>filterSetTrafficMask</tt> are submitted to the underlying executor, which is most common setting. <p> If you want to submit only a certain set of event types, you can specify them in the constructor.  For example, you could configure a thread pool for write operation for the maximum performance: <pre><code> IoService service = ...; DefaultIoFilterChainBuilder chain = service.getFilterChain();  chain.addLast("codec", new ProtocolCodecFilter(...)); // Use one thread pool for most events. chain.addLast("executor1", new ExecutorFilter()); // and another dedicated thread pool for 'filterWrite' events. chain.addLast("executor2", new ExecutorFilter(IoEventType.WRITE)); </code></pre>  <h2>Preventing <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/OutOfMemoryError.html?is-external=true" title="class or interface in java.lang"><CODE>OutOfMemoryError</CODE></A></h2>  Please refer to <A HREF="../../../../../org/apache/mina/filter/executor/IoEventQueueThrottle.html" title="class in org.apache.mina.filter.executor"><CODE>IoEventQueueThrottle</CODE></A>, which is specified as a parameter of the convenience constructors.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人动漫在线一区| 久久久久久久综合日本| 狠狠色狠狠色综合| 亚洲专区一二三| 亚洲人成人一区二区在线观看| 欧美一级精品在线| 在线91免费看| 欧美日韩精品免费观看视频| 欧美激情一区二区三区| 一区二区在线观看av| 国产精品电影一区二区| 中文字幕国产精品一区二区| 日韩1区2区日韩1区2区| 精品一区二区日韩| 国产精品一区二区你懂的| 国产成人免费av在线| va亚洲va日韩不卡在线观看| 91成人免费在线| 欧美日韩视频在线观看一区二区三区 | 99久久综合精品| 337p日本欧洲亚洲大胆精品| 国产欧美日韩三区| 亚洲丝袜精品丝袜在线| 丝袜a∨在线一区二区三区不卡| 久久综合综合久久综合| 91精品欧美综合在线观看最新| 国产精品大尺度| 国产91精品一区二区麻豆亚洲| fc2成人免费人成在线观看播放| 久久精品水蜜桃av综合天堂| 玉米视频成人免费看| 91蜜桃传媒精品久久久一区二区| 欧美亚洲禁片免费| 久久久久久免费毛片精品| 激情文学综合网| 久久综合色鬼综合色| 韩国av一区二区三区| 国产午夜一区二区三区| 成人黄色国产精品网站大全在线免费观看| 久久精品一区二区| 国产一区二区美女| 在线视频一区二区免费| 久久久美女艺术照精彩视频福利播放 | 国产一区二区三区久久久| 久久久久久久久久久久电影 | 久热成人在线视频| 国产亚洲欧美一级| 99精品久久久久久| 久久青草国产手机看片福利盒子| 国产综合色精品一区二区三区| 国产免费观看久久| 日本高清不卡一区| 日产国产高清一区二区三区| 久久精品欧美日韩| 99re热这里只有精品免费视频| 亚洲成人久久影院| 99精品欧美一区二区三区小说 | 欧美性受极品xxxx喷水| 日韩在线一区二区| 国产日产欧美精品一区二区三区| av资源站一区| 日韩黄色在线观看| 国产精品麻豆视频| 国产成人在线免费观看| ...av二区三区久久精品| 福利一区二区在线观看| 亚洲综合久久av| 久久综合九色综合97_久久久| 91丨porny丨国产| 久久99精品久久只有精品| 亚洲欧美在线视频| 日韩欧美国产1| 麻豆精品视频在线观看免费| 欧美福利视频一区| 日韩和欧美一区二区三区| 日本一区二区三区免费乱视频| 欧美无砖砖区免费| 国产91高潮流白浆在线麻豆| 亚洲午夜久久久久久久久电影院| 欧洲另类一二三四区| 国产精一区二区三区| 日日摸夜夜添夜夜添亚洲女人| 国产精品免费视频网站| 欧美电影免费提供在线观看| 欧美综合视频在线观看| 免费观看一级特黄欧美大片| 欧美va亚洲va| 国产福利不卡视频| 日本aⅴ免费视频一区二区三区| 亚洲人成网站色在线观看 | 91麻豆精品国产91久久久资源速度| 国产成人综合精品三级| 在线亚洲人成电影网站色www| 国产中文一区二区三区| 热久久久久久久| 亚洲与欧洲av电影| 亚洲精品视频免费观看| 国产精品婷婷午夜在线观看| 久久久久久久久久久久久久久99| 日韩午夜在线影院| 欧美精品亚洲一区二区在线播放| 在线精品亚洲一区二区不卡| 91视频在线看| 97久久超碰国产精品| 成人午夜碰碰视频| 亚洲欧美电影院| 成人免费小视频| 国产精品无圣光一区二区| 国产午夜亚洲精品午夜鲁丝片| 精品国产乱码久久久久久影片| 成人性生交大片免费看视频在线| 国产久卡久卡久卡久卡视频精品| 狠狠色丁香婷婷综合| 国产在线播放一区| 国产高清久久久久| jizz一区二区| 99r精品视频| 欧美性色黄大片手机版| 欧美少妇xxx| 欧美网站大全在线观看| 欧美日韩大陆一区二区| 欧美一区二区在线播放| 99久久综合国产精品| 91丝袜国产在线播放| 在线一区二区观看| 欧美一区二区视频免费观看| 日韩美女在线视频| 欧美国产丝袜视频| 亚洲精品国产无套在线观| 亚洲影视在线播放| 美腿丝袜在线亚洲一区| 国精产品一区一区三区mba视频| 国产一区二区成人久久免费影院 | 国产精品欧美久久久久无广告| 国产精品少妇自拍| 亚洲黄色av一区| 久久精品国产精品亚洲精品| 国产精品一二三在| 日本高清不卡视频| 欧美成人免费网站| 国产精品久久久久久久岛一牛影视| 又紧又大又爽精品一区二区| 日韩国产在线一| 国产成人综合亚洲网站| 欧美丝袜丝交足nylons| 精品美女在线播放| 亚洲精品视频一区二区| 奇米888四色在线精品| 成人免费视频一区| 欧美男男青年gay1069videost| www国产亚洲精品久久麻豆| 国产精品久久久久久户外露出 | 蜜桃av噜噜一区二区三区小说| 丰满少妇在线播放bd日韩电影| 欧美系列在线观看| 久久久无码精品亚洲日韩按摩| 亚洲资源在线观看| 懂色av一区二区三区免费看| 欧美男男青年gay1069videost | 国产女同互慰高潮91漫画| 亚洲高清久久久| 成人福利视频网站| 精品久久久久久久一区二区蜜臀| 亚洲精品乱码久久久久久黑人| 精品一区二区在线观看| 欧美午夜精品久久久久久超碰 | www.欧美日韩| 欧美成人a∨高清免费观看| 亚洲三级理论片| 高清在线不卡av| 欧美大片在线观看一区二区| 一个色综合av| 亚洲va韩国va欧美va| 成人黄页在线观看| 久久中文娱乐网| 久久精品国产成人一区二区三区| 欧美亚洲日本国产| 亚洲美女免费在线| caoporn国产精品| 亚洲国产成人自拍| 国产一区二区在线影院| 日韩一卡二卡三卡四卡| 亚洲妇女屁股眼交7| 日本韩国欧美三级| 国产精品国产精品国产专区不片| 国产麻豆精品久久一二三| 日韩亚洲欧美在线| 日产欧产美韩系列久久99| 欧美亚洲高清一区| 亚洲高清一区二区三区| 欧美自拍偷拍一区| 亚洲最新视频在线播放| 91在线视频播放地址| 中文字幕在线观看一区| eeuss鲁片一区二区三区| 国产精品私人影院| 成人高清视频在线观看| 国产精品久久久久久久久搜平片 | 99精品视频一区二区| 日韩理论片一区二区|