Re: Asynchronous timeout/sleep/delay/etc.

2007-09-26 Thread Jeff Genender
yz wrote: It requires another thread. It requires a thread that is dedicated to managing scheduling as a daemon, but it certainly is not blocking anything else. I believe this is probably one of the components that is best suited for scheduling a timeout as it scales incredibly well. I have

Asynchronous timeout/sleep/delay/etc.

2007-09-25 Thread yz
. Thanks in advance for your answers. -- View this message in context: http://www.nabble.com/Asynchronous-timeout-sleep-delay-etc.-tf4519900s16868.html#a12893472 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Re: Asynchronous timeout/sleep/delay/etc.

2007-09-25 Thread Jeff Genender
How is the ScheduledExecutorService a blocking mechanism? Jeff yz wrote: I just started playing around with Mina, and I tried searching the archives for a discussion about this, but I noticed a glaring lack of any asynchronous scheduling of callbacks. I.e., we can't schedule a

Re: Asynchronous timeout/sleep/delay/etc.

2007-09-25 Thread yz
in LoggingFilter and ProtocolCodecFilter with ObjectSerializationCodec, but for these there's no mention in the docs regarding their thread-safety. Thanks in advance for your answers. -- View this message in context: http://www.nabble.com/Asynchronous-timeout-sleep-delay-etc