public final class WriteBufferWaterMark
extends java.lang.Object
如果写入缓冲区中排队的字节数超过high water mark ,则Channel.isWritable()将开始返回false 。
如果写缓冲区中排队的字节数超过high water mark ,然后下降到low water mark以下,则Channel.isWritable()将再次开始返回true 。
| Modifier and Type | Field and Description |
|---|---|
static WriteBufferWaterMark |
DEFAULT |
| Constructor and Description |
|---|
WriteBufferWaterMark(int low, int high)
创建一个新的实例。
|
public static final WriteBufferWaterMark DEFAULT
Copyright © 2008–2018 The Netty Project. All rights reserved.