public interface IPathCacheService
| Modifier and Type | Method and Description |
|---|---|
String |
getFromCache(String strKey)
Get the path html from cache
|
String |
getKey(String strXPageName,
int nMode,
javax.servlet.http.HttpServletRequest request)
Constructs a cache key
|
String |
getKey(String strXPageName,
int nMode,
String strTitlesUrls,
javax.servlet.http.HttpServletRequest request)
Constructs a cache key
|
void |
putInCache(String strKey,
String path)
Put a path in cache
|
static final String BEAN_NAME
String getKey(String strXPageName, int nMode, javax.servlet.http.HttpServletRequest request)
strXPageName - the XPage namenMode - the moderequest - the requestnull if for instance the cache is not enabledString getKey(String strXPageName, int nMode, String strTitlesUrls, javax.servlet.http.HttpServletRequest request)
strXPageName - the XPage namenMode - the modestrTitlesUrls - list of links (url and titles)request - the request the requestnull if for instance the cache is not enabledString getFromCache(String strKey)
strKey - the cache keynull if it's not in cache or the cache is not enabledCopyright © 2020 City of Paris. All rights reserved.