{
File f = FileSupport.createTempFile();
File indf = FileSupport.createTempFile();
LogAdapterHolder lah = new LogAdapterHolder(new StdOutLogAdapter());
BPlusTree<Long, Long> btr = new BPlusTree<Long, Long>(new LruCacheNodeRepository<Long, Long>(new FileBackedNodeRepository<Long, Long>(new ReadWritableFileAdapter(indf), false, 0, new NumberOfRecordsNodeSizeStrategy(3), true, LongNullSerializer.INSTANCE, LongSerializer.INSTANCE, 4, 8192, null, lah), 10), lah);
DatabaseBackend<String, String, Long> b = new BPlusTreeIndexBackend<String, String, Long, Long>(new HeapBackend<String, String>(new ReadWritableFileAdapter(f), false, StringSerializer.INSTANCE, StringSerializer.INSTANCE, lah), false, btr, new StringToLongHasher(), lah);
SimpleDatabase<String, String, Long> res = new SimpleDatabase<String, String, Long>(b, lah);
m_dbFiles.put(System.identityHashCode(res), new File[] { f, indf });
return res;
}