use of org.apache.jena.dboe.base.block.BlockMgrLogger in project jena by apache.
the class BPlusTreeFactory method addLogging.
/**
* Debugging
*/
public static BPlusTree addLogging(BPlusTree bpTree) {
BufferChannel mgrRoot = null;
BlockMgr mgr1 = bpTree.getNodeManager().getBlockMgr();
BlockMgr mgr2 = bpTree.getRecordsMgr().getBlockMgr();
mgr1 = new BlockMgrLogger(mgr1, false);
mgr2 = new BlockMgrLogger(mgr2, false);
return BPlusTreeFactory.rebuild(bpTree, mgrRoot, mgr1, mgr2);
}
Aggregations