Documentation of 'org.neodatis.odb.impl.core.btree.LazyODBBTreePersister' Java class
LazyODBBTreePersister
org.neodatis.odb.impl.core.btree

Class LazyODBBTreePersister

    • Field Detail

      • nbSaveNodes

        public static int nbSaveNodes
      • nbSaveNodesInCache

        public static int nbSaveNodesInCache
      • nbSaveTree

        public static int nbSaveTree
      • nbLoadNodes

        public static int nbLoadNodes
      • nbLoadTree

        public static int nbLoadTree
      • nbLoadNodesFromCache

        public static int nbLoadNodesFromCache
    • Constructor Detail

      • LazyODBBTreePersister

        public LazyODBBTreePersister(ODB odb)
      • LazyODBBTreePersister

        public LazyODBBTreePersister(IStorageEngine engine)
    • Method Detail

      • loadNodeById

        public IBTreeNode loadNodeById(java.lang.Object id)
        Loads a node from its id. Tries to get if from memory, if not present then loads it from odb storage
        Specified by:
        loadNodeById in interface IBTreePersister
        Parameters:
        id - The id of the nod
        Returns:
        The node with the specific id
      • saveNode

        public java.lang.Object saveNode(IBTreeNode node)
        saves the bree node Only puts the current node in an 'modified Node' map to be saved on commit
        Specified by:
        saveNode in interface IBTreePersister
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface IBTreePersister
        Throws:
        java.lang.Exception
      • getNextNodeId

        public OID getNextNodeId()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • persist

        public void persist()
      • resetCounters

        public static void resetCounters()
      • counters

        public static java.lang.StringBuffer counters()
      • clearModified

        public void clearModified()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.