Added documentation to-dos
This commit is contained in:
parent
0b9b2aca0b
commit
6df482b074
@ -36,6 +36,8 @@ import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
|
||||
* is attached to the new {@link Channel}, and starts to handle all associated
|
||||
* {@link ChannelEvent}s.
|
||||
*
|
||||
* TODO: Document how to shut down a service using ChannelFactoryResource.
|
||||
*
|
||||
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||
* @author Trustin Lee (tlee@redhat.com)
|
||||
*
|
||||
|
@ -30,10 +30,10 @@ import java.util.concurrent.RejectedExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.jboss.netty.channel.Channel;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.ChannelFactoryResource;
|
||||
import org.jboss.netty.channel.ChannelPipeline;
|
||||
import org.jboss.netty.channel.ChannelSink;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.socket.ClientSocketChannelFactory;
|
||||
import org.jboss.netty.channel.socket.SocketChannel;
|
||||
|
||||
@ -62,6 +62,7 @@ import org.jboss.netty.channel.socket.SocketChannel;
|
||||
* more {@link Channel}s in a non-blocking mode.
|
||||
*
|
||||
* <h3>Life cycle of threads and graceful shutdown</h3>
|
||||
* TODO: Rewrite this section to recommend a user to call ChannelFactoryResource.release().
|
||||
* <p>
|
||||
* All threads are acquired from the {@link Executor}s which were specified
|
||||
* when a {@link NioClientSocketChannelFactory} was created. A boss thread is
|
||||
|
@ -30,10 +30,10 @@ import java.util.concurrent.RejectedExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.jboss.netty.channel.Channel;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.ChannelFactoryResource;
|
||||
import org.jboss.netty.channel.ChannelPipeline;
|
||||
import org.jboss.netty.channel.ChannelSink;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.socket.ServerSocketChannel;
|
||||
import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
|
||||
|
||||
@ -64,6 +64,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
|
||||
* more {@link Channel}s in a non-blocking mode.
|
||||
*
|
||||
* <h3>Life cycle of threads and graceful shutdown</h3>
|
||||
* TODO: Rewrite this section to recommend a user to call ChannelFactoryResource.release().
|
||||
* <p>
|
||||
* All threads are acquired from the {@link Executor}s which were specified
|
||||
* when a {@link NioServerSocketChannelFactory} was created. Boss threads are
|
||||
|
@ -28,9 +28,9 @@ import java.util.concurrent.RejectedExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.jboss.netty.channel.Channel;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.ChannelFactoryResource;
|
||||
import org.jboss.netty.channel.ChannelPipeline;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.socket.ClientSocketChannelFactory;
|
||||
import org.jboss.netty.channel.socket.SocketChannel;
|
||||
|
||||
@ -51,6 +51,7 @@ import org.jboss.netty.channel.socket.SocketChannel;
|
||||
* traditional blocking I/O thread model.
|
||||
*
|
||||
* <h3>Life cycle of threads and graceful shutdown</h3>
|
||||
* TODO: Rewrite this section to recommend a user to call ChannelFactoryResource.release().
|
||||
* <p>
|
||||
* Worker threads are acquired from the {@link Executor} which was specified
|
||||
* when a {@link OioClientSocketChannelFactory} was created (i.e. {@code workerExecutor}.)
|
||||
|
@ -28,10 +28,10 @@ import java.util.concurrent.RejectedExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.jboss.netty.channel.Channel;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.ChannelFactoryResource;
|
||||
import org.jboss.netty.channel.ChannelPipeline;
|
||||
import org.jboss.netty.channel.ChannelSink;
|
||||
import org.jboss.netty.channel.ChannelFactoryExecutorResource;
|
||||
import org.jboss.netty.channel.socket.ServerSocketChannel;
|
||||
import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
|
||||
|
||||
@ -61,6 +61,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
|
||||
* traditional blocking I/O thread model.
|
||||
*
|
||||
* <h3>Life cycle of threads and graceful shutdown</h3>
|
||||
* TODO: Rewrite this section to recommend a user to call ChannelFactoryResource.release().
|
||||
* <p>
|
||||
* All threads are acquired from the {@link Executor}s which were specified
|
||||
* when a {@link OioServerSocketChannelFactory} was created. Boss threads are
|
||||
|
Loading…
Reference in New Issue
Block a user