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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getFromCache​(java.lang.String strKey)
      Get an obect from the cache
      void putInCache​(java.lang.String strKey, java.lang.Object value)
      Put an object in cache
      void removeKey​(java.lang.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 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 null if 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 key
        value - the object to cache
      • removeKey

        void removeKey​(java.lang.String strKey)
        Removes a cache element
        Parameters:
        strKey - the key