Interface SiteCacheWarmer

  • All Known Implementing Classes:
    SiteCacheWarmerImpl

    public interface SiteCacheWarmer
    Helper class that's used to warm up the cache of a site context.
    Since:
    3.1.4
    Author:
    avasquez
    • Method Detail

      • warmUpCache

        void warmUpCache​(SiteContext siteContext,
                         boolean switchCache)
        Warms up the cache for the specified site context. If switchCache is true, then a new cache is created, warmed up and then switched with the current cache of the site.
        Parameters:
        siteContext - the site context
        switchCache - if a new cache should be warmed and then switched with the current cache