super(name, dataKey, threadId);
this.ttl = ttl;
}
public void run() throws Exception {
MultiMapContainer container = getOrCreateContainer();
if (!container.extendLock(dataKey, getCallerUuid(), threadId, LOCK_EXTENSION_TIME_IN_MILLIS)) {
throw new TransactionException(
"Lock is not owned by the transaction! -> " + container.getLockOwnerInfo(dataKey)
);
}
response = true;
}