Search in sources :

Example 1 with BlockMgrLogger

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);
}
Also used : BlockMgr(org.apache.jena.dboe.base.block.BlockMgr) BufferChannel(org.apache.jena.dboe.base.file.BufferChannel) BlockMgrLogger(org.apache.jena.dboe.base.block.BlockMgrLogger)

Aggregations

BlockMgr (org.apache.jena.dboe.base.block.BlockMgr)1 BlockMgrLogger (org.apache.jena.dboe.base.block.BlockMgrLogger)1 BufferChannel (org.apache.jena.dboe.base.file.BufferChannel)1