LockResult lnLock)
throws DatabaseException {
validateInsertArgs(allowDuplicates);
EnvironmentImpl env = database.getDbEnvironment();
LogManager logManager = env.getLogManager();
INList inMemoryINs = env.getInMemoryINs();
/* Find and latch the relevant BIN. */
BIN bin = null;
try {
bin = findBinForInsert(key, logManager, inMemoryINs, cursor);