Class CacheProperties
- java.lang.Object
-
- com.broadleafcommerce.common.extension.cache.CacheProperties
-
@ConfigurationProperties("com.broadleafcommerce.cache") public class CacheProperties extends ObjectProperties related to Broadleaf's integration with Spring Cache.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description CacheProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetActiveCacheManagerImplementation()Fully qualified classname of the auto configuration class for the desired cache manager strategy.DurationgetDefaultInstantRoundingIncrement()The default window during which the cache key will not change for active date filtered queries.inthashCode()voidsetActiveCacheManagerImplementation(String activeCacheManagerImplementation)Fully qualified classname of the auto configuration class for the desired cache manager strategy.voidsetDefaultInstantRoundingIncrement(Duration defaultInstantRoundingIncrement)The default window during which the cache key will not change for active date filtered queries.StringtoString()
-
-
-
Method Detail
-
getActiveCacheManagerImplementation
public String getActiveCacheManagerImplementation()
Fully qualified classname of the auto configuration class for the desired cache manager strategy. The default iscom.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 iscom.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)
-
-