private void verifyLock() { if (!recordStore.isLockedBy(dataKey, caller, threadId)) { // we can't send a RetryableHazelcastException explicitly since it would retry this opertation and we want to retry // the preceding EntryOperation that this operation is part of. throw new EntryOffloadableLockMismatchException( String.format("The key is not locked by the caller=%s and threadId=%d", caller, threadId)); } }
private void verifyLock() { if (!recordStore.isLockedBy(dataKey, caller, threadId)) { // we can't send a RetryableHazelcastException explicitly since it would retry this opertation and we want to retry // the preceding EntryOperation that this operation is part of. throw new EntryOffloadableLockMismatchException( String.format("The key is not locked by the caller=%s and threadId=%d", caller, threadId)); } }