boolean flushFromWaiters,
MemoryBudget mb)
throws DatabaseException {
int lockTableIndex = getLockTableIndex(nodeId);
Latch latch = lockTableLatches[lockTableIndex];
latch.acquire();
try {
return validateOwnershipInternal
(nodeId, locker, type, flushFromWaiters, mb, lockTableIndex);
} finally {
latch.release();
}
}