Added the limitation section to oio factories

This commit is contained in:
Trustin Lee 2008-09-03 07:44:39 +00:00
parent 7e491614cb
commit 1ed7741a96
2 changed files with 12 additions and 0 deletions

View File

@ -72,6 +72,12 @@ import org.jboss.netty.channel.socket.SocketChannel;
* closed. Otherwise, you will end up with a {@link RejectedExecutionException}
* and the related resources might not be released properly.
*
* <h3>Limitation</h3>
* <p>
* A {@link SocketChannel} created by this factory doesn't support asynchronous
* operations. Any I/O requests such as {@code "connect"} and {@code "write"}
* will be performed in a blocking manner.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
*

View File

@ -84,6 +84,12 @@ import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
* closed. Otherwise, you will end up with a {@link RejectedExecutionException}
* and the related resources might not be released properly.
*
* <h3>Limitation</h3>
* <p>
* A {@link ServerSocketChannel} created by this factory and its child channels
* don't support asynchronous operations. Any I/O requests such as
* {@code "write"} will be performed in a blocking manner.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
*