use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class TxnReserveOfferBackupOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
queueContainer.txnOfferBackupReserve(itemId, transactionId);
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class TxnReservePollOperation method run.
@Override
public void run() throws Exception {
QueueContainer createContainer = getContainer();
response = createContainer.txnPollReserve(reservedOfferId, transactionId);
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class RemoveOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
itemId = queueContainer.remove(data);
response = itemId != -1;
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class SizeOperation method run.
@Override
public void run() {
QueueContainer queueContainer = getContainer();
response = queueContainer.size();
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class CompareAndRemoveOperation method run.
@Override
public void run() {
QueueContainer queueContainer = getContainer();
dataMap = queueContainer.compareAndRemove(dataList, retain);
response = dataMap.size() > 0;
}
Aggregations