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 Type
    Method
    Description
    Get an obect from the cache
    void
    putInCache(String strKey, Object value)
    Put an object in cache
    void
    removeKey(String strKey)
    Removes a cache element

    Methods inherited from interface fr.paris.lutece.portal.service.cache.CacheableService

    enableCache, getCacheSize, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, isCacheEnable, resetCache

    Methods inherited from interface fr.paris.lutece.portal.service.util.LuteceService

    getName
  • Method Details

    • getFromCache

      Object getFromCache(String strKey)
      Get an obect from the cache
      Parameters:
      strKey - the key
      Returns:
      the corresponding object, or null if it is absent from the cache
    • putInCache

      void putInCache(String strKey, Object value)
      Put an object in cache
      Parameters:
      strKey - the key
      value - the object to cache
    • removeKey

      void removeKey(String strKey)
      Removes a cache element
      Parameters:
      strKey - the key