Class CachingResourcesConfig


  • public class CachingResourcesConfig
    extends Object
    Configuration object for the Caching policy.
    Author:
    benjamin.kihm@scheer-group.com
    • Constructor Detail

      • CachingResourcesConfig

        public CachingResourcesConfig()
        Constructor.
    • Method Detail

      • getTtl

        public long getTtl()
        Returns:
        ttl the time to live
      • setTtl

        public void setTtl​(long ttl)
        Parameters:
        ttl - the time to live to set
      • getCachingResourcesSettingsEntries

        public List<CachingResourcesSettingsEntry> getCachingResourcesSettingsEntries()
        Contains the caching settings of the policy
        Returns:
        getCachingResourcesSettingsEntries caching settings entries
      • setCachingResourcesSettingsEntries

        public void setCachingResourcesSettingsEntries​(List<CachingResourcesSettingsEntry> cachingResourcesSettingsEntries)
        Sets the caching settings of the policy
        Parameters:
        cachingResourcesSettingsEntries - caching settings entries to set