{
private final Map<Database<?, ?>, EFile[]> m_dbFiles = new HashMap<Database<?, ?>, EFile[]>();
private LoggingTransactionalDatabase<String, String, Long> createDbUsingFiles(EFile f, EFile treef, EFile logf)
{
LogAdapterHolder lah = new LogAdapterHolder(new StdOutLogAdapter());
lah.setLevel(Level.SEVERE);
DatabaseBackend<String, String, Long> backend = new HeapBackend<String, String>(f, false, StringNullSerializer.INSTANCE, StringSerializer.INSTANCE, 0, 8192, lah);
NodeRepository<Long> nr = new LruCacheNodeRepository<Long, Long>(new FileBackedNodeRepository<Long, Long>(treef, false, 0, new NumberOfRecordsNodeSizeStrategy(3), true, LongNullSerializer.INSTANCE, LongSerializer.INSTANCE, 4, 8192, null, lah), 10);
BPlusTree<Long, Long> tree = new BPlusTree<Long, Long>(nr, lah);
backend = new BPlusTreeIndexBackend<String, String, Long, Long>(backend, false, tree, StringToLongHasher.INSTANCE, lah);
LoggingTransactionalDatabase<String, String, Long> res = new LoggingTransactionalDatabase<String, String, Long>(backend, logf, StringNullSerializer.INSTANCE, StringSerializer.INSTANCE, lah);