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.CacheableServiceCache service interface for Extender
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetFromCache(java.lang.String strKey)Get an obect from the cachevoidputInCache(java.lang.String strKey, java.lang.Object value)Put an object in cachevoidremoveKey(java.lang.String strKey)Removes a cache element
-
-
-
Method Detail
-
getFromCache
java.lang.Object getFromCache(java.lang.String strKey)
Get an obect from the cache- Parameters:
strKey- the key- Returns:
- the corresponding object, or
nullif it is absent from the cache
-
putInCache
void putInCache(java.lang.String strKey, java.lang.Object value)Put an object in cache- Parameters:
strKey- the keyvalue- the object to cache
-
removeKey
void removeKey(java.lang.String strKey)
Removes a cache element- Parameters:
strKey- the key
-
-