long now,
DatabaseImpl database)
throws DatabaseException {
int lockTableIndex = getLockTableIndex(nodeId);
Latch latch = lockTableLatches[lockTableIndex];
latch.acquire();
try {
return makeTimeoutMsgInternal(lockOrTxn, locker,
nodeId, type, grantType,
useLock, timeout, start, now,
database);
} finally {
latch.release();
}
}