Class PublicHtmlPageCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.htmlpage.service.PublicHtmlPageCacheService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
public class PublicHtmlPageCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
HtmlPageCacheService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddHtmlPageCache(HtmlPage htmlPage) Add htmlPage to the cachevoidaddHtmlPageCache(List<HtmlPage> htmlPageList) Add htmlPageList to the cachegetHtmlPageCache(String strId) Get htmlPage to the cacheGet htmlPageList to the cachegetName()static PublicHtmlPageCacheServiceGet the instance of this serviceMethods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
-
Method Details
-
getService
Get the instance of this service- Returns:
- the instance of this service
-
getName
-
getHtmlPageCache
Get htmlPage to the cache- Parameters:
strId-- Returns:
-
getHtmlPageListCache
Get htmlPageList to the cache- Parameters:
strId-- Returns:
-
addHtmlPageCache
Add htmlPage to the cache- Parameters:
htmlPage-
-
addHtmlPageCache
Add htmlPageList to the cache- Parameters:
htmlPage-
-