fr.paris.lutece.portal.service.page
Class PageCacheService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by 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
PageCacheService()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getName()
          Returns the Service name
 void notifyElementEvicted(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
          
 void notifyElementExpired(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
          
 void notifyElementRemoved(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
          
 void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
          
 void removeKeyFromMap(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, 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
 

Constructor Detail

PageCacheService

public PageCacheService()
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:
notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListener
Overrides:
notifyElementEvicted in class AbstractCacheableService
Parameters:
cache - The Ehcache object
element - 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 object
element - 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 object
element - 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.