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)
Tries to obtain an item by removing the head of the
queue or removing an item previously reserved by invoking
QueueContainer.txnOfferReserve(String) with reservedOfferId . |
Modifier and Type | Method and Description |
---|---|
Map<Long,QueueItem> |
QueueContainer.getBackupMap()
Return the map containing queue items when this instance is
a backup replica.
|
Deque<QueueItem> |
QueueContainer.getItemQueue()
Returns the item queue on the partition owner.
|
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 © 2018 Hazelcast, Inc.. All Rights Reserved.