Class PublicHtmlPageCacheService

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

    public class PublicHtmlPageCacheService
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    HtmlPageCacheService
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addHtmlPageCache​(HtmlPage htmlPage)
      Add htmlPage to the cache
      void addHtmlPageCache​(java.util.List<HtmlPage> htmlPageList)
      Add htmlPageList to the cache
      HtmlPage getHtmlPageCache​(java.lang.String strId)
      Get htmlPage to the cache
      java.util.List<HtmlPage> getHtmlPageListCache()
      Get htmlPageList to the cache
      java.lang.String getName()  
      static PublicHtmlPageCacheService getService()
      Get the instance of this service
      • Methods 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getService

        public static PublicHtmlPageCacheService getService()
        Get the instance of this service
        Returns:
        the instance of this service
      • getName

        public java.lang.String getName()
      • getHtmlPageCache

        public HtmlPage getHtmlPageCache​(java.lang.String strId)
        Get htmlPage to the cache
        Parameters:
        strId -
        Returns:
      • getHtmlPageListCache

        public java.util.List<HtmlPage> getHtmlPageListCache()
        Get htmlPageList to the cache
        Parameters:
        strId -
        Returns:
      • addHtmlPageCache

        public void addHtmlPageCache​(HtmlPage htmlPage)
        Add htmlPage to the cache
        Parameters:
        htmlPage -
      • addHtmlPageCache

        public void addHtmlPageCache​(java.util.List<HtmlPage> htmlPageList)
        Add htmlPageList to the cache
        Parameters:
        htmlPage -