diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannelConfig.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannelConfig.java index 94e552f47c..abf7142ae3 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannelConfig.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannelConfig.java @@ -62,14 +62,14 @@ public interface NioSocketChannelConfig extends SocketChannelConfig { /** * Returns the high water mark of the write buffer. If the number of bytes * queued in the write buffer exceeds this value, {@link Channel#isWritable()} - * will start to return {@code true}. + * will start to return {@code false}. */ int getWriteBufferHighWaterMark(); /** * Sets the high water mark of the write buffer. If the number of bytes * queued in the write buffer exceeds this value, {@link Channel#isWritable()} - * will start to return {@code true}. + * will start to return {@code false}. */ void setWriteBufferHighWaterMark(int writeBufferHighWaterMark); @@ -78,7 +78,7 @@ public interface NioSocketChannelConfig extends SocketChannelConfig { * queued in the write buffer exceeded the * {@linkplain #setWriteBufferHighWaterMark(int) high water mark} and then * dropped down below this value, {@link Channel#isWritable()} will return - * {@code false} again. + * {@code true} again. */ int getWriteBufferLowWaterMark(); @@ -87,7 +87,7 @@ public interface NioSocketChannelConfig extends SocketChannelConfig { * queued in the write buffer exceeded the * {@linkplain #setWriteBufferHighWaterMark(int) high water mark} and then * dropped down below this value, {@link Channel#isWritable()} will return - * {@code false} again. + * {@code true} again. */ void setWriteBufferLowWaterMark(int writeBufferLowWaterMark);