use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class AddAllBackupOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
queueContainer.addAllBackup(dataMap);
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class AddAllOperation method run.
@Override
public void run() {
QueueContainer queueContainer = getContainer();
if (queueContainer.hasEnoughCapacity()) {
dataMap = queueContainer.addAll(dataList);
response = true;
} else {
response = false;
}
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class ClearOperation method run.
@Override
public void run() {
QueueContainer queueContainer = getContainer();
dataMap = queueContainer.clear();
response = true;
}
use of com.hazelcast.collection.impl.queue.QueueContainer in project hazelcast by hazelcast.
the class CompareAndRemoveBackupOperation method run.
@Override
public void run() throws Exception {
QueueContainer queueContainer = getContainer();
queueContainer.compareAndRemoveBackup(keySet);
response = true;
}
Aggregations