Class Page.IncompleteNonLeaf<K,​V>

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    Page<K,​V>

    private static class Page.IncompleteNonLeaf<K,​V>
    extends Page.NonLeaf<K,​V>
    • Field Detail

      • complete

        private boolean complete
    • Method Detail

      • constructEmptyPageRefs

        private static <K,​V> Page.PageReference<K,​V>[] constructEmptyPageRefs​(int size)
      • writeUnsavedRecursive

        void writeUnsavedRecursive​(Chunk chunk,
                                   WriteBuffer buff,
                                   java.util.List<java.lang.Long> toc)
        Description copied from class: Page
        Store this page and all children that are changed, in reverse order, and update the position and the children.
        Overrides:
        writeUnsavedRecursive in class Page.NonLeaf<K,​V>
        Parameters:
        chunk - the chunk
        buff - the target buffer
        toc - prospective table of content
      • isComplete

        public boolean isComplete()
        Overrides:
        isComplete in class Page<K,​V>
      • setComplete

        public void setComplete()
        Description copied from class: Page
        Called when done with copying page.
        Overrides:
        setComplete in class Page<K,​V>
      • dump

        public void dump​(java.lang.StringBuilder buff)
        Description copied from class: Page
        Dump debug data for this page.
        Overrides:
        dump in class Page.NonLeaf<K,​V>
        Parameters:
        buff - append buffer