public class ResourceServletCache
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Constructor and Description |
---|
ResourceServletCache()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
ResourceValueObject |
get(String strKey)
Get from the cache
|
String |
getName()
Gets the cache name
|
void |
put(String strKey,
ResourceValueObject resource)
Put an object into the cache
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
public final String getName()
public ResourceValueObject get(String strKey)
strKey
- The keypublic void put(String strKey, ResourceValueObject resource)
strKey
- The keyresource
- The valueCopyright © 2020 City of Paris. All rights reserved.