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