public interface Kueue
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(KueueMsgConsumer consumer) |
boolean |
accept(long timeout,
TimeUnit unit,
KueueMsgConsumer consumer) |
void |
clear() |
KueueManager |
getKueueManager() |
String |
identifier() |
boolean |
isClosed() |
boolean |
isEmpty() |
void |
put(byte[] value) |
long |
size() |
byte[] |
take() |
byte[] |
take(long timeout,
TimeUnit unit) |
long |
totalPuts() |
long |
totalTakes() |
void put(byte[] value)
byte[] take()
throws InterruptedException
InterruptedExceptionbyte[] take(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionboolean accept(KueueMsgConsumer consumer)
boolean accept(long timeout,
TimeUnit unit,
KueueMsgConsumer consumer)
throws InterruptedException
InterruptedExceptionlong size()
boolean isEmpty()
boolean isClosed()
String identifier()
void clear()
long totalPuts()
long totalTakes()
KueueManager getKueueManager()
Copyright © 2022. All rights reserved.