Class BlockMgrBase

  • All Implemented Interfaces:
    org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync, BlockMgr
    Direct Known Subclasses:
    BlockMgrFileAccess

    public abstract class BlockMgrBase
    extends java.lang.Object
    implements BlockMgr
    • Method Detail

      • allocate

        public final Block allocate​(int blkSize)
        Description copied from interface: BlockMgr
        Allocate an uninitialized block - writable - call only inside a update sequence. If blockSize is -1, means "default/fixed size" for this BlockMgr
        Specified by:
        allocate in interface BlockMgr
      • getLabel

        public final java.lang.String getLabel()
        Specified by:
        getLabel in interface BlockMgr
      • endUpdate

        public void endUpdate()
        Description copied from interface: BlockMgr
        Completion of update
        Specified by:
        endUpdate in interface BlockMgr
      • beginUpdate

        public void beginUpdate()
        Description copied from interface: BlockMgr
        Start of update
        Specified by:
        beginUpdate in interface BlockMgr
      • beginRead

        public void beginRead()
        Description copied from interface: BlockMgr
        Start of read
        Specified by:
        beginRead in interface BlockMgr
      • endRead

        public void endRead()
        Description copied from interface: BlockMgr
        Completion of read
        Specified by:
        endRead in interface BlockMgr