public interface CmsCacheService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(CacheKey key)
Gets cache content by key
|
CacheKey |
getKey(HttpServletRequest request,
AbstractCMSComponentModel component)
Gets the cache key for the current component and request
|
void |
put(CacheKey key,
java.lang.String content)
Stores cache content by key
|
boolean |
useCache(HttpServletRequest request,
AbstractCMSComponentModel component)
Checks if cache is enabled
|
boolean useCache(HttpServletRequest request,
AbstractCMSComponentModel component)
request - the current requestcomponent - the current componentjava.lang.String get(CacheKey key)
key - the cache keyvoid put(CacheKey key, java.lang.String content)
key - the cache keycontent - the cache contentCacheKey getKey(HttpServletRequest request, AbstractCMSComponentModel component)
request - the current requestcomponent - the current componentCopyright © 2018 SAP SE. All Rights Reserved.