public final class ResourceCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
| Modifier and Type | Method and Description |
|---|---|
static String |
getDatabaseResourceCacheKey(String strIdResource)
Get the cache key for resources.
|
static ResourceCacheService |
getInstance()
Get the instance of the service
|
String |
getName() |
static String |
getResourceCacheKey(String strIdResource,
String strResourceType)
Get the cache key for resources
|
static String |
getResourceTypeCacheKey(String strResourceType)
Get the cache for resource types
|
static String |
getResourceTypeProviderCacheKey(String strResourceType)
Get the cache key of the association between a resource provider and a
resource type
|
static String |
getResourceTypesListCacheKey()
Get the cache key for the list of resource types
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCachepublic static ResourceCacheService getInstance()
public String getName()
public static String getResourceTypeProviderCacheKey(String strResourceType)
strResourceType - The resource typepublic static String getResourceTypesListCacheKey()
public static String getResourceCacheKey(String strIdResource, String strResourceType)
strIdResource - The id of the resourcestrResourceType - The resource typepublic static String getDatabaseResourceCacheKey(String strIdResource)
getResourceCacheKey(String strIdResource, String strResourceType)
method.strIdResource - The id of the resourceCopyright © 2020 City of Paris. All rights reserved.