Class AbstractKahaDBMetaData<T>

    • Constructor Detail

      • AbstractKahaDBMetaData

        public AbstractKahaDBMetaData()
    • Method Detail

      • getPage

        public Page<T> getPage()
        Description copied from interface: KahaDBMetaData
        Gets the Page in the store PageFile where the KahaDBMetaData instance is stored.
        Specified by:
        getPage in interface KahaDBMetaData<T>
        Returns:
        the Page to use to start access the KahaDBMetaData instance.
      • getState

        public int getState()
        Description copied from interface: KahaDBMetaData
        Gets the state flag of this meta data instance.
        Specified by:
        getState in interface KahaDBMetaData<T>
        Returns:
        the current state value for this instance.
      • getLastUpdateLocation

        public Location getLastUpdateLocation()
        Description copied from interface: KahaDBMetaData
        Returns the Journal Location value that indicates that last recorded update that was successfully performed for this KahaDB store implementation.
        Specified by:
        getLastUpdateLocation in interface KahaDBMetaData<T>
        Returns:
        the location of the last successful update location.
      • setPage

        public void setPage​(Page<T> page)
        Description copied from interface: KahaDBMetaData
        Sets the Page instance used to load and store the KahaDBMetaData instance.
        Specified by:
        setPage in interface KahaDBMetaData<T>
        Parameters:
        page - the new Page value to use.
      • setState

        public void setState​(int value)
        Description copied from interface: KahaDBMetaData
        Sets the current value of the state flag.
        Specified by:
        setState in interface KahaDBMetaData<T>
        Parameters:
        value - the new value to assign to the state flag.
      • setLastUpdateLocation

        public void setLastUpdateLocation​(Location location)
        Description copied from interface: KahaDBMetaData
        Updates the value of the last successful update.
        Specified by:
        setLastUpdateLocation in interface KahaDBMetaData<T>
        Parameters:
        location - the new value to assign the last update location field.