Class CacheProperties

java.lang.Object
com.broadleafcommerce.common.extension.cache.CacheProperties

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

    • CacheProperties

      public CacheProperties()
  • Method Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object