Class CacheAutoConfiguration

java.lang.Object
org.deltafi.common.cache.CacheAutoConfiguration

@AutoConfiguration @ConditionalOnClass({com.github.benmanes.caffeine.cache.Caffeine.class,org.springframework.cache.caffeine.CaffeineCache.class}) @ConditionalOnMissingBean(org.springframework.cache.CacheManager.class) @ConditionalOnExpression("\'${spring.cache.type:CAFFEINE}\' eq \'CAFFEINE\'") @EnableConfigurationProperties(CacheProperties.class) @EnableCaching public class CacheAutoConfiguration extends Object
  • Constructor Details

    • CacheAutoConfiguration

      public CacheAutoConfiguration()
  • Method Details

    • ticker

      @Bean @ConditionalOnMissingBean public com.github.benmanes.caffeine.cache.Ticker ticker()
    • cacheManager

      @Bean public org.springframework.cache.CacheManager cacheManager(CacheProperties cacheProperties, com.github.benmanes.caffeine.cache.Ticker ticker)