use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class TxnOfferBackupOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
queueContainer.txnCommitOffer(itemId, data, true);
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class QueueReplicationOperation method readInternal.
@Override
protected void readInternal(ObjectDataInput in) throws IOException {
int mapSize = in.readInt();
migrationData = new HashMap<String, QueueContainer>(mapSize);
for (int i = 0; i < mapSize; i++) {
String name = in.readUTF();
QueueContainer container = new QueueContainer(name);
container.readData(in);
migrationData.put(name, container);
}
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class RemoveBackupOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
queueContainer.removeBackup(itemId);
response = true;
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class TxnPeekOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
response = queueContainer.txnPeek(itemId, transactionId);
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class TxnPollBackupOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
queueContainer.txnCommitPollBackup(itemId);
response = true;
}
Aggregations