More documentation on state management
This commit is contained in:
parent
3d2579b8cb
commit
c36812d55d
@ -25,8 +25,9 @@ import org.jboss.netty.util.internal.ConcurrentIdentityWeakKeyHashMap;
|
||||
* a {@link Thread#currentThread()}. One difference is that you always have to
|
||||
* specify the {@link Channel} to access the variable.
|
||||
* <p>
|
||||
* As an alternative, you might want to use an attachment storage provided by
|
||||
* {@link ChannelHandlerContext}.
|
||||
* Alternatively, you might want to use the
|
||||
* {@link ChannelHandlerContext#setAttachment(Object) ChannelHandlerContext.attachment}
|
||||
* property, which performs better.
|
||||
*
|
||||
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||
* @author Trustin Lee (tlee@redhat.com)
|
||||
|
Loading…
Reference in New Issue
Block a user