tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik \(mailing lists\)" <>
Subject RE: Starting on 3.1 implementation
Date Wed, 27 Jun 2012 20:34:34 GMT
> > 3.1 seems to be a fairly minor update so far, so we should be able to
> start
> > pushing Tomcat 8 right around the time as the spec is finalized.
> Just a word of caution. The EG is far from agreed on the best way to do
> the non-blocking API at the moment. As with happened with the 3.0 async
> API, a complete re-write could still happen.
[Filip Hanik] 
I'd expect this API to change

    public abstract boolean canWrite();

if this returns true, and then I write 1MB of buffered data, what does the
system expect this to be non blocking?
The better signature would have been 
    public abstract int canWrite();

and at least return the number of free bytes we have in the response buffer


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message