Interface ICacheKeyService

All Known Implementing Classes:
DefaultCacheKeyService, MailAttachmentCacheKeyService

public interface ICacheKeyService
Interface for cache key builders
  • Method Details

    • getKey

      String getKey(Map<String,String> mapParams, int nMode, LuteceUser user)
      Build a key from input parameters
      Parameters:
      mapParams - The Map params
      nMode - The current mode.
      user - Current Lutece user
      Returns:
      The key
    • setAllowedParametersList

      void setAllowedParametersList(List<String> list)
      Sets the list of allowed parameters to include into the cache key
      Parameters:
      list - The list
    • setIgnoredParametersList

      void setIgnoredParametersList(List<String> list)
      Sets the list of ignored parameters not to include into the cache key
      Parameters:
      list - The list