Interface IResourceExtenderCacheService
- All Superinterfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService
- All Known Implementing Classes:
ResourceExtenderCacheService
public interface IResourceExtenderCacheService
extends fr.paris.lutece.portal.service.cache.CacheableService
Cache service interface for Extender
-
Method Summary
Modifier and TypeMethodDescriptiongetFromCache(String strKey) Get an obect from the cachevoidputInCache(String strKey, Object value) Put an object in cachevoidRemoves a cache elementMethods inherited from interface fr.paris.lutece.portal.service.cache.CacheableService
enableCache, getCacheSize, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, isCacheEnable, resetCacheMethods inherited from interface fr.paris.lutece.portal.service.util.LuteceService
getName
-
Method Details
-
getFromCache
Get an obect from the cache- Parameters:
strKey- the key- Returns:
- the corresponding object, or
nullif it is absent from the cache
-
putInCache
Put an object in cache- Parameters:
strKey- the keyvalue- the object to cache
-
removeKey
Removes a cache element- Parameters:
strKey- the key
-