Interface PageEvictionTracker

    • Method Detail

      • evictionRequired

        boolean evictionRequired()
        Check if page eviction is required according to the configured policy.
        Returns:
        True if eviction required.
      • evictDataPage

        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.
      • forgetPage

        void forgetPage​(long pageId)
                 throws IgniteCheckedException
        Call this method when last entry is removed from data page.
        Parameters:
        pageId - Page id.
        Throws:
        IgniteCheckedException - In case of page memory error.