So future.isWritten() is a better way to detect whether WRITE is
successfully than set session.SetWriteTimeOut()? future.join() seems
blocking the method(Wait for the asynchronous operation to end.) will that
affect the performance?
On 7/28/07, Trustin Lee <[EMAIL PROTECTED]> wrote:

> On 7/28/07, mat <[EMAIL PROTECTED]> wrote:
> > If Write_Idle doesn't throws an exception, what does it do?
>
> Well, sessionIdle is invoked instead.  For some cases, it's not an
> exceptional but an expected case, so user might not want
> WriteTimeoutException.
>
> And.. you are right.  You don't need to set both writeTimeout and
> WRITER_IDLE.  You can choose either.
>
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>

Reply via email to