From 3ee287bf4981d8c0b337f49458410670bc0c56c9 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 29 Apr 2009 02:10:52 +0000 Subject: [PATCH] Updated Javadoc of OrderedMemoryAwareThreadPoolExecutor --- .../execution/OrderedMemoryAwareThreadPoolExecutor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java b/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java index 5a0a482cc2..bec1c71475 100644 --- a/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java +++ b/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java @@ -64,6 +64,9 @@ import org.jboss.netty.util.internal.ConcurrentIdentityWeakKeyHashMap; * Please note that the events of different channels are independent from each * other. That is, an event of Channel B will not be blocked by an event of * Channel A and vice versa, unless the thread pool is exhausted. + *

+ * If you want the events associated with the same channel to be executed + * simultaneously, please use {@link MemoryAwareThreadPoolExecutor} instead. * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com)