Package | Description |
---|---|
com.hazelcast.collection.impl.queue | |
com.hazelcast.collection.impl.txnqueue |
Modifier and Type | Method and Description |
---|---|
QueueItem |
QueueContainer.peek()
Retrieves, but does not remove, the head of this queue, or returns
null if this queue is empty. |
QueueItem |
QueueContainer.poll()
Retrieves and removes the head of the queue (in other words, the first item), or returns
null if it is empty. |
QueueItem |
QueueContainer.txnPeek(long offerId,
String transactionId)
Retrieves, but does not remove, the head of the queue.
|
QueueItem |
QueueContainer.txnPollReserve(long reservedOfferId,
String transactionId)
Retrieves and removes the head of the queue and loads the data from the queue store if the data is not stored in-memory
and the queue store is configured and enabled.
|
Modifier and Type | Method and Description |
---|---|
Deque<QueueItem> |
QueueContainer.getItemQueue() |
Modifier and Type | Method and Description |
---|---|
int |
QueueItem.compareTo(QueueItem o) |
Modifier and Type | Class and Description |
---|---|
class |
TxQueueItem
Transactional Queue Item.
|
Constructor and Description |
---|
TxQueueItem(QueueItem item) |
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.