Class Random2LruPageEvictionTracker

    • Method Detail

      • touchPage

        public void touchPage​(long pageId)
                       throws IgniteCheckedException
        Call this method when data page is accessed.
        Parameters:
        pageId - Page id.
        Throws:
        IgniteCheckedException - In case of page memory error.
      • evictDataPage

        public void evictDataPage()
                           throws IgniteCheckedException
        Evicts one data page. In most cases, all entries will be removed from the page. Method guarantees removing at least one entry from "evicted" data page. Removing all entries may be not possible, as some of them can be used by active transactions.
        Throws:
        IgniteCheckedException - In case of page memory error.
      • checkTouch

        protected boolean checkTouch​(long pageId)
        Specified by:
        checkTouch in class PageAbstractEvictionTracker
        Parameters:
        pageId - Page ID.
        Returns:
        true if page was touched at least once.
      • forgetPage

        public void forgetPage​(long pageId)
        Call this method when last entry is removed from data page.
        Parameters:
        pageId - Page id.