You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Bach Christian <Ch...@swx.com> on 2008/07/28 11:09:49 UTC
Question on IOSession:write(.) method and IOProcessor thread processing.
Heya there
I got a question on the IOSession:write(...) method and IOProcessor
thread processing.
If my application goes into calling the write method in some thread T1
(which is in general not an IOProcessor thread), how and when is the
"write job" passed to some of the IOProcessor threads ? There is some
queue I suppose, where T1 puts the Object to be written into and some of
the IOProcessors pick it up from. Here come my questions:
* Is there a queue per Session or a queue shared between Sessions
?
* How can I set the size of the queue's bounds ? Am I right in
thinking that hitting the bounds would block T1 on writing ?
* And am I right in thinking that the outbound filter chain is
executed by some IOProcessor after Object consumption from the "write
job" queue ?
Thx for your assistance, Christian.
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. The sender's company reserves the right to monitor all e-mail communications through their networks.