Class PageCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.portal.service.page.PageCacheService
- All Implemented Interfaces:
CacheableService,LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
Page Cache Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getName()Returns the Service namevoidnotifyElementEvicted(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) voidnotifyElementExpired(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) voidnotifyElementRemoved(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) voidnotifyRemoveAll(net.sf.ehcache.Ehcache cache) voidremoveKeyFromMap(net.sf.ehcache.Element element) Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementPut, notifyElementUpdated, putInCache, removeKey, resetCache
-
Constructor Details
-
PageCacheService
public PageCacheService()
-
-
Method Details
-
getName
Returns the Service name- Returns:
- The name as a String
-
notifyElementEvicted
public void notifyElementEvicted(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) Description copied from class:AbstractCacheableService- Specified by:
notifyElementEvictedin interfacenet.sf.ehcache.event.CacheEventListener- Overrides:
notifyElementEvictedin classAbstractCacheableService- Parameters:
cache- The Ehcache objectelement- The Element object- See Also:
-
CacheEventListener.notifyElementEvicted(net.sf.ehcache.Ehcache, net.sf.ehcache.Element)
-
notifyElementExpired
public void notifyElementExpired(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) Description copied from class:AbstractCacheableService- Specified by:
notifyElementExpiredin interfacenet.sf.ehcache.event.CacheEventListener- Overrides:
notifyElementExpiredin classAbstractCacheableService- Parameters:
cache- The Ehcache objectelement- The Element object- See Also:
-
CacheEventListener.notifyElementExpired(net.sf.ehcache.Ehcache, net.sf.ehcache.Element)
-
notifyElementRemoved
public void notifyElementRemoved(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) Description copied from class:AbstractCacheableService- Specified by:
notifyElementRemovedin interfacenet.sf.ehcache.event.CacheEventListener- Overrides:
notifyElementRemovedin classAbstractCacheableService- Parameters:
cache- The Ehcache objectelement- The Element object- See Also:
-
CacheEventListener.notifyElementRemoved(net.sf.ehcache.Ehcache, net.sf.ehcache.Element)
-
notifyRemoveAll
public void notifyRemoveAll(net.sf.ehcache.Ehcache cache) Description copied from class:AbstractCacheableService- Specified by:
notifyRemoveAllin interfacenet.sf.ehcache.event.CacheEventListener- Overrides:
notifyRemoveAllin classAbstractCacheableService- Parameters:
cache- The Ehcache object- See Also:
-
CacheEventListener.notifyRemoveAll(net.sf.ehcache.Ehcache)
-
removeKeyFromMap
public void removeKeyFromMap(net.sf.ehcache.Element element) - Parameters:
element- The Element object
-
clone
- Specified by:
clonein interfacenet.sf.ehcache.event.CacheEventListener- Overrides:
clonein classAbstractCacheableService- Returns:
- the instance
- See Also:
-