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,java.lang.Cloneable,net.sf.ehcache.event.CacheEventListener
public final class MainTreeMenuCacheService extends fr.paris.lutece.portal.service.cache.AbstractCacheableServiceGet the instance of the cache service
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MainTreeMenuCacheServicegetInstance()Get the instance of the cache servicejava.lang.StringgetMainMenuCacheKey()Get the cache key for a given main menujava.lang.StringgetMenuTreeCacheKey(int nCurrentPageId)Get the cache key for a given menu treejava.lang.StringgetName()-
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 Detail
-
getInstance
public static MainTreeMenuCacheService getInstance()
Get the instance of the cache service- Returns:
- The instance of the service
-
getMainMenuCacheKey
public java.lang.String getMainMenuCacheKey()
Get the cache key for a given main menu- Returns:
- The cache key for the main
-
getMenuTreeCacheKey
public java.lang.String getMenuTreeCacheKey(int nCurrentPageId)
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
public java.lang.String getName()
-
-