Class LinksIncludeCacheService
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.portal.web.includes.LinksIncludeCacheService
-
- All Implemented Interfaces:
CacheableService,PluginEventListener,LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
public class LinksIncludeCacheService extends AbstractCacheableService implements PluginEventListener
Cache service for LinksInclude
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description LinksIncludeCacheService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCacheKey(int nMode, String strPage, Locale locale)Get a cache keyStringgetName()Returns the Service namevoidprocessPluginEvent(PluginEvent event)Process a plugin event-
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
-
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:LuteceServiceReturns the Service name- Specified by:
getNamein interfaceLuteceService- Returns:
- The name as a String
-
getCacheKey
public String getCacheKey(int nMode, String strPage, Locale locale)
Get a cache key- Parameters:
nMode- modestrPage- page idlocale- locale- Returns:
- a cache key
-
processPluginEvent
public void processPluginEvent(PluginEvent event)
Description copied from interface:PluginEventListenerProcess a plugin event- Specified by:
processPluginEventin interfacePluginEventListener- Parameters:
event- The event to process
-
-