mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Horace Pinker <flipcode2...@yahoo.com>
Subject mina 0.9.4 - io/business logic decoupling with threads
Date Fri, 01 Sep 2006 14:59:06 GMT
hi,

i'm using mina 0.9.4.

this is how i set up the acceptor:

Acceptor = new SocketAcceptor();
 Acceptor.bind(new InetSocketAddress(Port), new NET_SessionHandler(this));

i read the docs and found some info regarding ThreadModel, however this info seems to be outdated
for 0.9.4.

is by default iologic and businesslogic decoupled and in separate threadpools in mina 0.9.4?

if yes: how can i increase/decrease/read the number of possible threads and currently in use
threads in the two pools?

if no: which code has to be added to the accetor start to have a separate iologic and businesslogic
thread pool with a specified maxiumum amount of threads?

thanks!


 		
---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message