Class ResourceServletContentTypeCache
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.document.web.ResourceServletContentTypeCache
-
- 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 class ResourceServletContentTypeCache extends fr.paris.lutece.portal.service.cache.AbstractCacheableServiceDeprecated.This class will be removed after v2.5ResourceServletCache
-
-
Constructor Summary
Constructors Constructor Description ResourceServletContentTypeCache()Deprecated.Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringget(java.lang.String strKey)Deprecated.Get from the cachejava.lang.StringgetName()Deprecated.Gets the cache namevoidput(java.lang.String strKey, java.lang.String strContentType)Deprecated.Put an object into the cache-
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
-
getName
public java.lang.String getName()
Deprecated.Gets the cache name- Returns:
- The cache name
-
get
public java.lang.String get(java.lang.String strKey)
Deprecated.Get from the cache- Parameters:
strKey- The key- Returns:
- The object or null if not found
-
put
public void put(java.lang.String strKey, java.lang.String strContentType)Deprecated.Put an object into the cache- Parameters:
strKey- The keystrContentType- The value
-
-