@Configuration @Conditional(value=com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class) @ConditionalOnClass(value=org.apache.ignite.cache.spring.SpringCacheManager.class) @ConditionalOnProperty(value="com.broadleafcommerce.cache.activeCacheManagerImplementation", havingValue="com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheAutoConfiguration", matchIfMissing=true) @EnableConfigurationProperties(value=DataTrackingCacheProperties.class) public class DataTrackingCacheAutoConfiguration extends Object
Constructor and Description |
---|
DataTrackingCacheAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> |
dataTrackingCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer,
DataTrackingCacheProperties cacheProperties) |
ContextInfoCustomizer |
sandboxVisibleCacheEnabledContextInfoCustomizer(org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication,Map<String,Object>> authenticationAttributesConverter) |
com.broadleafcommerce.common.extension.cache.CacheResultPostProcessor |
sortableCacheResultPostProcessor() |
org.springframework.cache.interceptor.KeyGenerator |
trackingCacheByApplicationContextId() |
org.springframework.cache.interceptor.KeyGenerator |
trackingCacheByCatalogContextId() |
@Bean @ConditionalOnMissingBean(name="dataTrackingCacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> dataTrackingCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, DataTrackingCacheProperties cacheProperties)
@Bean @ConditionalOnMissingBean(name="trackingCacheByCatalogContextId") public org.springframework.cache.interceptor.KeyGenerator trackingCacheByCatalogContextId()
@Bean @ConditionalOnMissingBean(name="trackingCacheByApplicationContextId") public org.springframework.cache.interceptor.KeyGenerator trackingCacheByApplicationContextId()
@Bean @ConditionalOnMissingBean(name="sandboxVisibleCacheEnabledContextInfoCustomizer") public ContextInfoCustomizer sandboxVisibleCacheEnabledContextInfoCustomizer(@Autowired(required=false) @Qualifier(value="authenticationAttributesConverter") org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication,Map<String,Object>> authenticationAttributesConverter)
@Bean @ConditionalOnMissingBean(name="sortableCacheResultPostProcessor") public com.broadleafcommerce.common.extension.cache.CacheResultPostProcessor sortableCacheResultPostProcessor()
Copyright © 2021. All rights reserved.