Class CacheConfiguration

java.lang.Object
org.qubership.atp.dataset.config.CacheConfiguration

@Configuration @EnableCaching public class CacheConfiguration extends Object
  • Field Details

  • Constructor Details

    • CacheConfiguration

      public CacheConfiguration()
  • Method Details

    • hazelcastCacheManager

      @Bean @ConditionalOnProperty(name="spring.cache.hazelcast.client.enable", havingValue="true") public org.springframework.cache.CacheManager hazelcastCacheManager()
      Generates hazelcast instance client.
      Returns:
      instance
    • caffeineCacheManager

      @Bean @ConditionalOnProperty(name="spring.cache.hazelcast.client.enable", havingValue="false") public org.springframework.cache.CacheManager caffeineCacheManager()
      Caffeine cache manager.
      Returns:
      Caffeine cache manager.