Package lumis.portal.page.cache
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$ $Date$
-
-
Field Summary
-
Fields inherited from interface lumis.portal.page.cache.IPageCacheManager
CLEAR_CACHE_CHANGE_TYPE_DELETE, CLEAR_CACHE_CHANGE_TYPE_UPDATE, PAGE_CACHE_GEN_STATE_DISABLED, PAGE_CACHE_GEN_STATE_ENABLED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resetExpiredGeneratingPages()
Resets all pages that have been in the generating state for more than 30 minutes.void
scheduleRecalculateCachesEnabled(ChannelConfig channel)
Schedules recalculation if page caches are enabled after the current transaction completes.void
scheduleRecalculateCachesEnabled(PageConfig page)
Schedules recalculation if page caches are enabled after the current transaction completes.-
Methods inherited from interface lumis.portal.page.cache.IPageCacheManager
clearAllHTMLCache, clearCacheByChannelIds, clearCacheByPagesIds, clearPageCacheErrors, delete, expirePageCache, generatePage, get, getPageCacheGenerationState, isPageCacheGenerationEnabled, pageCacheMissed, processHTMLForPageCache, processHTMLForPageCache, setPageCacheGenerationState, updateCachedFilesLastModifiedDate, waitForGeneration, waitForPagesReadyToGenerate
-
-
-
-
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)
-
-