Class PageBase

  • All Implemented Interfaces:
    org.apache.jena.atlas.io.Printable, Page
    Direct Known Subclasses:
    RecordBufferPageBase

    public abstract class PageBase
    extends java.lang.Object
    implements Page
    A page with a byte buffer
    • Field Summary

      • Fields inherited from interface org.apache.jena.dboe.base.page.Page

        NO_ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Block getBackingBlock()
      Return the block associated with this page
      int getId()
      Pages are addressed ints (a page ref does in on-disk blocks) although block are address in longs
      void reset​(Block block2)
      The underlying block for this page has changed (e.g.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.jena.dboe.base.page.Page

        getRefStr
      • Methods inherited from interface org.apache.jena.atlas.io.Printable

        output
    • Method Detail

      • reset

        public final void reset​(Block block2)
        Description copied from interface: Page
        The underlying block for this page has changed (e.g. it's been promoted and the promotion may have caused the block to change).
        Specified by:
        reset in interface Page
      • getBackingBlock

        public final Block getBackingBlock()
        Description copied from interface: Page
        Return the block associated with this page
        Specified by:
        getBackingBlock in interface Page
      • getId

        public final int getId()
        Description copied from interface: Page
        Pages are addressed ints (a page ref does in on-disk blocks) although block are address in longs
        Specified by:
        getId in interface Page