use of com.hazelcast.collection.impl.collection.TxCollectionItem in project hazelcast by hazelcast.
the class ListContainer method rollbackRemove.
@Override
public void rollbackRemove(long itemId) {
TxCollectionItem txItem = txMap.remove(itemId);
if (txItem == null) {
logger.warning("Transaction log cannot be found for rolling back 'remove()' operation." + " Missing log item id: " + itemId);
return;
}
CollectionItem item = new CollectionItem(itemId, txItem.getValue());
addTxItemOrdered(item);
}
Aggregations