Somewhat more ambiguous yet not-incorrect caller thread description

- Netty 3 has inconsistent thread model that's not easy to document, so I would not spend too much effort on this.
This commit is contained in:
Trustin Lee 2014-01-21 15:00:44 +09:00
parent b037eda614
commit 113c264d43
2 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@ import java.net.SocketAddress;
* <td>{@code "channelOpen"}</td>
* <td>{@link ChannelStateEvent}<br/>(state = {@link ChannelState#OPEN OPEN}, value = {@code true})</td>
* <td>a {@link Channel} is open, but not bound nor connected</td>
* <td><strong>Be aware that this event is fired from within the worker thread. You should never
* <td><strong>Be aware that this event is fired from within the I/O thread. You should never
* execute any heavy operation in there as it will block the dispatching to other workers!</strong></td>
* </tr>
* <tr>
@ -83,7 +83,7 @@ import java.net.SocketAddress;
* <td>{@code "channelBound"}</td>
* <td>{@link ChannelStateEvent}<br/>(state = {@link ChannelState#BOUND BOUND}, value = {@link SocketAddress})</td>
* <td>a {@link Channel} is open and bound to a local address, but not connected.</td>
* <td><strong>Be aware that this event is fired from within the worker thread. You should never
* <td><strong>Be aware that this event is fired from within the I/O thread. You should never
* execute any heavy operation in there as it will block the dispatching to other workers!</strong></td>
* </tr>
* <tr>
@ -96,7 +96,7 @@ import java.net.SocketAddress;
* <td>{@link ChannelStateEvent}<br/>(state = {@link ChannelState#CONNECTED CONNECTED}, value =
* {@link SocketAddress})</td>
* <td>a {@link Channel} is open, bound to a local address, and connected to a remote address</td>
* <td><strong>Be aware that this event is fired from within the worker thread. You should never
* <td><strong>Be aware that this event is fired from within the I/O thread. You should never
* execute any heavy operation in there as it will block the dispatching to other workers!</strong></td>
* </tr>
* <tr>

View File

@ -157,7 +157,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* Invoked when a {@link Channel} is open, but not bound nor connected.
* <br/>
*
* <strong>Be aware that this event is fired from within the worker thread. You should never
* <strong>Be aware that this event is fired from within the I/O thread. You should never
* execute any heavy operation in there as it will block the dispatching to other workers!</strong>
*/
public void channelOpen(
@ -170,7 +170,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* but not connected.
* <br/>
*
* <strong>Be aware that this event is fired from within the worker thread. You should never
* <strong>Be aware that this event is fired from within the I/O thread. You should never
* execute any heavy operation in there as it will block the dispatching to other workers!</strong>
*/
public void channelBound(
@ -183,7 +183,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* connected to a remote address.
* <br/>
*
* <strong>Be aware that this event is fired from within the worker thread. You should never
* <strong>Be aware that this event is fired from within the I/O thread. You should never
* execute any heavy operation in there as it will block the dispatching to other workers!</strong>
*/
public void channelConnected(