All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync

public class BPTStateMgr extends 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 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()