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 Summary
Constructors Constructor Description CacheProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getActiveCacheManagerImplementation()
Fully qualified classname of the auto configuration class for the desired cache manager strategy.Duration
getDefaultInstantRoundingIncrement()
The default window during which the cache key will not change for active date filtered queries.int
hashCode()
void
setActiveCacheManagerImplementation(String activeCacheManagerImplementation)
Fully qualified classname of the auto configuration class for the desired cache manager strategy.void
setDefaultInstantRoundingIncrement(Duration defaultInstantRoundingIncrement)
The default window during which the cache key will not change for active date filtered queries.String
toString()
-
-
-
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)
-
-