Interface IPageCacheManagerSPI

  • All Superinterfaces:
    IPageCacheManager
    All Known Implementing Classes:
    PageCacheManager

    public interface IPageCacheManagerSPI
    extends IPageCacheManager
    Manager responsible for page cache related internal operations.
    Since:
    7.1.0
    Version:
    $Revision: 25548 $ $Date: 2023-04-11 16:08:36 -0300 (Tue, 11 Apr 2023) $
    • Method Detail

      • resetExpiredGeneratingPages

        void resetExpiredGeneratingPages()
                                  throws PortalException
        Resets all pages that have been in the generating state for more than 30 minutes.
        Throws:
        PortalException
        Since:
        7.1.0
      • scheduleRecalculateCachesEnabled

        void scheduleRecalculateCachesEnabled​(ChannelConfig channel)
                                       throws PortalException
        Schedules recalculation if page caches are enabled after the current transaction completes. The page caches are enabled or disabled as necessary so they are updated to what they should be in this aspect.
        Parameters:
        channel - the channel whose tree will be have their page caches recalculated.
        Throws:
        PortalException
        Since:
        15.0.4
        See Also:
        scheduleRecalculateCachesEnabled(PageConfig)
      • scheduleRecalculateCachesEnabled

        void scheduleRecalculateCachesEnabled​(PageConfig page)
                                       throws PortalException
        Schedules recalculation if page caches are enabled after the current transaction completes. The page caches are enabled or disabled as necessary so they are updated to what they should be in this aspect.
        Parameters:
        page - the page whose caches will be recalculated.
        Throws:
        PortalException
        Since:
        15.0.4
        See Also:
        scheduleRecalculateCachesEnabled(ChannelConfig)