use of org.apache.jena.tdb.base.file.BlockAccessDirect in project jena by apache.
the class TestBlockMgrDirect method make.
@Override
protected BlockMgr make() {
// Make directly - no wrapper, no cache, no free block mgt.
FileOps.delete(filename);
BlockAccess file = new BlockAccessDirect(filename, BlkSize);
BlockMgr mgr = new BlockMgrFileAccess(file, BlkSize);
if (BlockMgrFactory.AddTracker)
mgr = BlockMgrFactory.tracker(mgr);
return mgr;
}
Aggregations