fr.paris.lutece.portal.service.page
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
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService |
dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementPut, notifyElementUpdated, putInCache, resetCache |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageCacheService
public PageCacheService()
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:
notifyElementEvicted
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
notifyElementEvicted
in class AbstractCacheableService
- 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:
notifyElementExpired
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
notifyElementExpired
in class AbstractCacheableService
- 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:
notifyElementRemoved
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
notifyElementRemoved
in class AbstractCacheableService
- 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:
notifyRemoveAll
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
notifyRemoveAll
in class AbstractCacheableService
- 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:
clone
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
clone
in class AbstractCacheableService
- Returns:
- the instance
- See Also:
Object.clone()
Copyright © 2012 Mairie de Paris. All Rights Reserved.