use of com.hazelcast.collection.impl.collection.CollectionContainer in project hazelcast by hazelcast.
the class SetReplicationOperation method readInternal.
@Override
protected void readInternal(ObjectDataInput in) throws IOException {
int mapSize = in.readInt();
migrationData = new HashMap<String, CollectionContainer>(mapSize);
for (int i = 0; i < mapSize; i++) {
String name = in.readUTF();
SetContainer container = new SetContainer();
container.readData(in);
migrationData.put(name, container);
}
}
use of com.hazelcast.collection.impl.collection.CollectionContainer in project hazelcast by hazelcast.
the class CollectionReserveAddOperation method run.
@Override
public void run() throws Exception {
CollectionContainer collectionContainer = getOrCreateContainer();
response = collectionContainer.reserveAdd(transactionId, value);
}
use of com.hazelcast.collection.impl.collection.CollectionContainer in project hazelcast by hazelcast.
the class CollectionTransactionRollbackOperation method run.
@Override
public void run() throws Exception {
CollectionContainer collectionContainer = getOrCreateContainer();
collectionContainer.rollbackTransaction(transactionId);
}
use of com.hazelcast.collection.impl.collection.CollectionContainer in project hazelcast by hazelcast.
the class CollectionTxnAddBackupOperation method run.
@Override
public void run() throws Exception {
CollectionContainer collectionContainer = getOrCreateContainer();
collectionContainer.commitAddBackup(itemId, value);
response = true;
}
use of com.hazelcast.collection.impl.collection.CollectionContainer in project hazelcast by hazelcast.
the class CollectionTxnRemoveOperation method run.
@Override
public void run() throws Exception {
CollectionContainer collectionContainer = getOrCreateContainer();
item = collectionContainer.commitRemove(itemId);
}
Aggregations