| java.util.concurrent.ThreadPoolExecutor org.apache.mina.filter.executor.UnorderedThreadPoolExecutor
UnorderedThreadPoolExecutor | public class UnorderedThreadPoolExecutor extends ThreadPoolExecutor (Code) | | A
ThreadPoolExecutor that does not maintain the order of
IoEvent s.
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.
- All event handler methods can be called simultaneously.
(e.g. messageReceived and messageSent can be invoked at the same time.)
- The event order can be mixed up.
(e.g. sessionClosed or messageSent can be invoked before messageReceived
is invoked.)
If you need to maintain the order of events per session, please use
OrderedThreadPoolExecutor .
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 595549 $, $Date: 2007-11-15 21:45:36 -0700 (Thu, 15 Nov 2007) $ |
Constructor Summary | |
public | UnorderedThreadPoolExecutor() | public | UnorderedThreadPoolExecutor(int maximumPoolSize) | public | UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize) | public | UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit) | public | UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, IoEventQueueHandler queueHandler) | public | UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory) | public | UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory, IoEventQueueHandler queueHandler) |
UnorderedThreadPoolExecutor | public UnorderedThreadPoolExecutor()(Code) | | |
UnorderedThreadPoolExecutor | public UnorderedThreadPoolExecutor(int maximumPoolSize)(Code) | | |
UnorderedThreadPoolExecutor | public UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize)(Code) | | |
UnorderedThreadPoolExecutor | public UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit)(Code) | | |
UnorderedThreadPoolExecutor | public UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, IoEventQueueHandler queueHandler)(Code) | | |
UnorderedThreadPoolExecutor | public UnorderedThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory)(Code) | | |
getActiveCount | public int getActiveCount()(Code) | | |
getCompletedTaskCount | public long getCompletedTaskCount()(Code) | | |
getCorePoolSize | public int getCorePoolSize()(Code) | | |
getLargestPoolSize | public int getLargestPoolSize()(Code) | | |
getMaximumPoolSize | public int getMaximumPoolSize()(Code) | | |
getPoolSize | public int getPoolSize()(Code) | | |
getTaskCount | public long getTaskCount()(Code) | | |
isShutdown | public boolean isShutdown()(Code) | | |
isTerminated | public boolean isTerminated()(Code) | | |
isTerminating | public boolean isTerminating()(Code) | | |
prestartAllCoreThreads | public int prestartAllCoreThreads()(Code) | | |
prestartCoreThread | public boolean prestartCoreThread()(Code) | | |
purge | public void purge()(Code) | | |
setCorePoolSize | public void setCorePoolSize(int corePoolSize)(Code) | | |
setMaximumPoolSize | public void setMaximumPoolSize(int maximumPoolSize)(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|