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 ICacheKeyService
mapParams
- A map of key/valuenMode
- The modeuser
- The LuteceUserpublic void setAllowedParametersList(List<String> list)
setAllowedParametersList
in interface ICacheKeyService
list
- The listpublic void setIgnoredParametersList(List<String> list)
setIgnoredParametersList
in interface ICacheKeyService
list
- The listCopyright © 2020 City of Paris. All rights reserved.