org.apache.geronimo.gshell.whisper.session
Class ThreadPoolModel
java.lang.Object
org.apache.geronimo.gshell.whisper.session.ThreadPoolModel
- All Implemented Interfaces:
- org.apache.mina.common.IoFilterChainBuilder, org.apache.mina.common.ThreadModel
public class ThreadPoolModel
- extends Object
- implements org.apache.mina.common.ThreadModel
A custom ThreadModel to get some more control over the pool configuration as well as how threads are constructed.
- Version:
- $Rev: 579828 $ $Date: 2007-09-26 15:15:42 -0700 (Wed, 26 Sep 2007) $
| Fields inherited from interface org.apache.mina.common.ThreadModel |
MANUAL |
| Fields inherited from interface org.apache.mina.common.IoFilterChainBuilder |
NOOP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPoolModel
public ThreadPoolModel(String name)
ThreadPoolModel
public ThreadPoolModel(Class type,
Object suffix)
ThreadPoolModel
public ThreadPoolModel(Class type,
AtomicLong counter)
ThreadPoolModel
public ThreadPoolModel(Class type,
AtomicInteger counter)
shutdown
public void shutdown()
buildFilterChain
public void buildFilterChain(org.apache.mina.common.IoFilterChain chain)
throws Exception
- Specified by:
buildFilterChain in interface org.apache.mina.common.IoFilterChainBuilder
- Throws:
Exception
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.