Class CacheProperties


  • @ConfigurationProperties("com.broadleafcommerce.cache")
    public class CacheProperties
    extends Object
    Properties related to Broadleaf's integration with Spring Cache.
    Author:
    Jeff Fischer
    • Constructor Detail

      • CacheProperties

        public CacheProperties()
    • Method Detail

      • getActiveCacheManagerImplementation

        public String getActiveCacheManagerImplementation()
        Fully qualified classname of the auto configuration class for the desired cache manager strategy. The default is com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheAutoConfiguration.
      • getDefaultInstantRoundingIncrement

        public Duration getDefaultInstantRoundingIncrement()
        The default window during which the cache key will not change for active date filtered queries. This reduces jitter and allows the cache to be effective until the cache TTL expires, or the cache key changes because this threshold is exceeded. The default value is 5 minutes.
      • setActiveCacheManagerImplementation

        public void setActiveCacheManagerImplementation​(String activeCacheManagerImplementation)
        Fully qualified classname of the auto configuration class for the desired cache manager strategy. The default is com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheAutoConfiguration.
      • setDefaultInstantRoundingIncrement

        public void setDefaultInstantRoundingIncrement​(Duration defaultInstantRoundingIncrement)
        The default window during which the cache key will not change for active date filtered queries. This reduces jitter and allows the cache to be effective until the cache TTL expires, or the cache key changes because this threshold is exceeded. The default value is 5 minutes.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object