When reading this thread I 'm thinking that mina should have a method
somewhere that would define the number of cpus/cores of the underlying
system. For example: .setCpuNumber(2);
From that only setting, wouldn't mina have enough information to
configure itself optimally?
IoSession session = ...;
WriteFuture future = session.write(...);
// Wait until the message is completely written out to the O/S buffer.
future.join();
I was looking at this code and I got an idea.
As we want mina to be as non blocking as possible may be instead of
having the thread waiting it
peter royal wrote:
my view is that anyone that /needs/ java5 and no backport stuff now can
do this, otherwise wait for 1.1 :)
and for 1.1 why not go for Java6 directly (skipping Java5)? Java6 will
be probably out by then.
_
Log