public class DefaultCacheKeyService extends Object implements ICacheKeyService
| Constructor and Description |
|---|
DefaultCacheKeyService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey(Map<String,String> mapParams,
int nMode,
LuteceUser user)
Calculate the cache key
|
void |
setAllowedParametersList(List<String> list)
Sets the list of allowed parameters to include into the cache key
|
void |
setIgnoredParametersList(List<String> list)
Sets the list of ignored parameters not to include into the cache key
|
public String getKey(Map<String,String> mapParams, int nMode, LuteceUser user)
getKey in interface ICacheKeyServicemapParams - A map of key/valuenMode - The modeuser - The LuteceUserpublic void setAllowedParametersList(List<String> list)
setAllowedParametersList in interface ICacheKeyServicelist - The listpublic void setIgnoredParametersList(List<String> list)
setIgnoredParametersList in interface ICacheKeyServicelist - The listCopyright © 2020 City of Paris. All rights reserved.