Package | Description |
---|---|
io.netty.util.internal |
Internal-use-only utilities which is not allowed to be used
outside Netty.
|
Modifier and Type | Method and Description |
---|---|
int |
SpscLinkedQueue.drain(MessagePassingQueue.Consumer<E> c) |
int |
SpscLinkedQueue.drain(MessagePassingQueue.Consumer<E> c,
int limit) |
void |
SpscLinkedQueue.drain(MessagePassingQueue.Consumer<E> c,
MessagePassingQueue.WaitStrategy wait,
MessagePassingQueue.ExitCondition exit) |
int |
MessagePassingQueue.drain(MessagePassingQueue.Consumer<T> c)
Remove all available item from the queue and hand to consume.
|
int |
MessagePassingQueue.drain(MessagePassingQueue.Consumer<T> c,
int limit)
Remove up to limit elements from the queue and hand to consume.
|
void |
MessagePassingQueue.drain(MessagePassingQueue.Consumer<T> c,
MessagePassingQueue.WaitStrategy wait,
MessagePassingQueue.ExitCondition exit)
Remove elements from the queue and hand to consume forever.
|
Copyright © 2008–2016 The Netty Project. All rights reserved.