Class PageCacheService
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.portal.service.page.PageCacheService
-
- All Implemented Interfaces:
CacheableService,LuteceService,java.lang.Cloneable,net.sf.ehcache.event.CacheEventListener
public class PageCacheService extends AbstractCacheableService
Page Cache Service
-
-
Constructor Summary
Constructors Constructor Description PageCacheService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetName()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
-
-
-
-
Method Detail
-
getName
public java.lang.String 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
public java.lang.Object clone()
- Specified by:
clonein interfacenet.sf.ehcache.event.CacheEventListener- Overrides:
clonein classAbstractCacheableService- Returns:
- the instance
- See Also:
Object.clone()
-
-