Interface ICacheKeyService
- All Known Implementing Classes:
DefaultCacheKeyService,MailAttachmentCacheKeyService
public interface ICacheKeyService
Interface for cache key builders
-
Method Summary
Modifier and TypeMethodDescriptiongetKey(Map<String, String> mapParams, int nMode, LuteceUser user) Build a key from input parametersvoidsetAllowedParametersList(List<String> list) Sets the list of allowed parameters to include into the cache keyvoidsetIgnoredParametersList(List<String> list) Sets the list of ignored parameters not to include into the cache key
-
Method Details
-
getKey
Build a key from input parameters- Parameters:
mapParams- The Map paramsnMode- The current mode.user- Current Lutece user- Returns:
- The key
-
setAllowedParametersList
Sets the list of allowed parameters to include into the cache key- Parameters:
list- The list
-
setIgnoredParametersList
Sets the list of ignored parameters not to include into the cache key- Parameters:
list- The list
-