org.apache.geronimo.gshell.whisper.session
Class ThreadPoolModel

java.lang.Object
  extended by 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) $

Field Summary
 
Fields inherited from interface org.apache.mina.common.ThreadModel
MANUAL
 
Fields inherited from interface org.apache.mina.common.IoFilterChainBuilder
NOOP
 
Constructor Summary
ThreadPoolModel(Class type, AtomicInteger counter)
           
ThreadPoolModel(Class type, AtomicLong counter)
           
ThreadPoolModel(Class type, Object suffix)
           
ThreadPoolModel(String name)
           
 
Method Summary
 void buildFilterChain(org.apache.mina.common.IoFilterChain chain)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.