public TxnRollbackOperation(String name, Data dataKey, long threadId) {
super(name, dataKey, threadId);
}
public void run() throws Exception {
MultiMapContainer container = getOrCreateContainer();
if (container.isLocked(dataKey) && !container.unlock(dataKey, getCallerUuid(), threadId)) {
throw new TransactionException(
"Lock is not owned by the transaction! Owner: " + container.getLockOwnerInfo(dataKey)
);
}
}