public final class WriteBufferWaterMark extends Object
If the number of bytes queued in the write buffer exceeds the
high water mark, Channel.isWritable()
will start to return false
.
If the number of bytes queued in the write buffer exceeds the
high water mark and then
dropped down below the low water mark,
Channel.isWritable()
will start to return
true
again.
Modifier and Type | Field and Description |
---|---|
static WriteBufferWaterMark |
DEFAULT |
Constructor and Description |
---|
WriteBufferWaterMark(int low,
int high)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
high()
Returns the high water mark for the write buffer.
|
int |
low()
Returns the low water mark for the write buffer.
|
String |
toString() |
public static final WriteBufferWaterMark DEFAULT
Copyright © 2008–2017 The Netty Project. All rights reserved.