Class MainTreeMenuCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.menus.service.cache.MainTreeMenuCacheService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
public final class MainTreeMenuCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Get the instance of the cache service
-
Method Summary
Modifier and TypeMethodDescriptionstatic MainTreeMenuCacheServiceGet the instance of the cache serviceGet the cache key for a given main menugetMenuTreeCacheKey(int nCurrentPageId) Get the cache key for a given menu treegetName()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
-
Method Details
-
getInstance
Get the instance of the cache service- Returns:
- The instance of the service
-
getMainMenuCacheKey
Get the cache key for a given main menu- Returns:
- The cache key for the main
-
getMenuTreeCacheKey
Get the cache key for a given menu tree- Parameters:
nCurrentPageId- The id of the menu tree- Returns:
- The cache key for the menu tree
-
getName
-