nrb = new LruCacheNodeRepositoryBuilder<BigInteger, Long>().setProxiedBuilder(nrb).setMaxCacheSize(m_bTreeLruNodeCacheSize);
}
DatabaseBackendFactory<String, String, Long> baf = new HeapBackendFactory<String, String>(StringSerializer.INSTANCE, StringSerializer.INSTANCE, lah);
// Only use 7 bits of the most significant byte when hashing to
// avoid collisions with the serialized null value
baf = new BPlusTreeIndexBackendFactory<String, String, BigInteger, Long>(baf, nrb, new StringToBigIntegerHasher(STRING_HASH_SIZE, 7), lah);
ShadowCopyTransactionalDatabase<String, String, Long> db = new ShadowCopyTransactionalDatabase<String, String, Long>(new SingleFileAndProxiedFileManager(new SingleFileManager(ff, tmpDirD), indff, tmpDirD), baf, false, lah);
m_dbFiles.put(System.identityHashCode(db), new File[] { f, tmpDir, indf });
m_databases.add(db);
}
}