Fixed errors in JavaDoc about OIO-based transport shutdown

This commit is contained in:
Trustin Lee 2008-09-29 06:51:41 +00:00
parent 8fb2f7c789
commit d7c53437e9
2 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ import org.jboss.netty.channel.socket.SocketChannel;
*
* <ol>
* <li>close all channels created by the factory,</li>
* <li>call {@link ExecutorService#shutdownNow()} or {@link ExecutorService#shutdown()}
* for the {@code workerExecutor} which was specified to create the factory, and</li>
* <li>call {@link ExecutorService#shutdownNow()} for the executor which was
* specified to create the factory, and</li>
* <li>call {@link ExecutorService#awaitTermination(long, TimeUnit)}
* until it returns {@code true}.</li>
* </ol>

View File

@ -74,8 +74,8 @@ import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
* <ol>
* <li>unbind all channels created by the factory,
* <li>close all child channels accepted by the unbound channels,</li>
* <li>call {@link ExecutorService#shutdownNow()} or {@link ExecutorService#shutdown()}
* for all executors which were specified to create the factory, and</li>
* <li>call {@link ExecutorService#shutdownNow()} for all executors which were
* specified to create the factory, and</li>
* <li>call {@link ExecutorService#awaitTermination(long, TimeUnit)}
* until it returns {@code true}.</li>
* </ol>