|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.cache.DefaultCacheKeyService
public class DefaultCacheKeyService
Default cache key service
Constructor Summary | |
---|---|
DefaultCacheKeyService()
|
Method Summary | |
---|---|
java.lang.String |
getKey(java.util.Map<java.lang.String,java.lang.String> mapParams,
int nMode,
LuteceUser user)
Calculate the cache key |
void |
setAllowedParametersList(java.util.List<java.lang.String> list)
Sets the list of allowed parameters to include into the cache key |
void |
setIgnoredParametersList(java.util.List<java.lang.String> list)
Sets the list of ignored parameters not to include into the cache key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCacheKeyService()
Method Detail |
---|
public java.lang.String getKey(java.util.Map<java.lang.String,java.lang.String> mapParams, int nMode, LuteceUser user)
getKey
in interface ICacheKeyService
mapParams
- A map of key/valuenMode
- The modeuser
- The LuteceUser
public void setAllowedParametersList(java.util.List<java.lang.String> list)
setAllowedParametersList
in interface ICacheKeyService
list
- The listpublic void setIgnoredParametersList(java.util.List<java.lang.String> list)
setIgnoredParametersList
in interface ICacheKeyService
list
- The list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |