final class AbstractNioChannel.WriteRequestQueue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ThreadLocalBoolean |
notifying |
private java.util.Queue<MessageEvent> |
queue |
| Constructor and Description |
|---|
WriteRequestQueue() |
| Modifier and Type | Method and Description |
|---|---|
private int |
getMessageSize(MessageEvent e) |
boolean |
isEmpty() |
boolean |
offer(MessageEvent e) |
MessageEvent |
poll() |
private final ThreadLocalBoolean notifying
private final java.util.Queue<MessageEvent> queue
public boolean isEmpty()
public boolean offer(MessageEvent e)
public MessageEvent poll()
private int getMessageSize(MessageEvent e)