Class BPTStateMgr
java.lang.Object
org.apache.jena.dboe.transaction.txn.StateMgrBase
org.apache.jena.dboe.transaction.txn.StateMgrData
org.apache.jena.dboe.trans.bplustree.BPTStateMgr
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,org.apache.jena.atlas.lib.Sync
public class BPTStateMgr
extends org.apache.jena.dboe.transaction.txn.StateMgrData
Manage the persistent state of the tree
This consists of last committed root, and the limits on the blocks for both
nodes and records.
(rootId/int-as-long, nodeAllocLimit/long, recordsAllocLimit/long)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.dboe.transaction.txn.StateMgrBase
close, getBufferChannel, getState, readState, setState, sync, writeState
-
Constructor Details
-
BPTStateMgr
public BPTStateMgr(org.apache.jena.dboe.base.file.BufferChannel storage)
-
-
Method Details
-
setState
public void setState(int rootIdx, long nodeBlkLimit, long recordsBlkLimit) Set the state - does not write it to disk. -
getRoot
public int getRoot() -
getNodeBlocksLimit
public long getNodeBlocksLimit() -
getRecordsBlocksLimit
public long getRecordsBlocksLimit()
-