ConnectionFactory.netty() instead@Deprecated public interface NioQueue
This is a simplified subset of BlockingQueue.
This interface is considered a SPI and is likely to move between
minor and patch releases.
NioParams| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Deprecated.
Returns
true if the queue contains no element. |
boolean |
offer(WriteRequest writeRequest)
Deprecated.
Enqueue a frame, block if the queue is full.
|
WriteRequest |
poll()
Deprecated.
Retrieves and removes the head of this queue,
or returns
null if this queue is empty. |
int |
size()
Deprecated.
Get the current size of the queue.
|
boolean offer(WriteRequest writeRequest) throws InterruptedException
writeRequest - InterruptedExceptionint size()
WriteRequest poll()
null if this queue is empty.null if this queue is emptyboolean isEmpty()
true if the queue contains no element.true if the queue contains no elementCopyright © 2025 Broadcom Inc. and its subsidiaries.. All rights reserved.