Class AzureRedisAutoConfiguration
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.cache.AzureRedisAutoConfiguration
-
@Configuration @AutoConfigureAfter(com.azure.spring.cloud.autoconfigure.context.AzureContextAutoConfiguration.class) @ConditionalOnProperty(value="spring.cloud.azure.redis.enabled", matchIfMissing=true) @ConditionalOnClass(org.springframework.data.redis.core.RedisOperations.class) @EnableConfigurationProperties(AzureRedisProperties.class) public class AzureRedisAutoConfiguration extends Object
An auto-configuration for Spring cache using Azure redis cache- Author:
- Warren Zhu
-
-
Constructor Summary
Constructors Constructor Description AzureRedisAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisCacheManagerredisCacheManager(com.azure.resourcemanager.AzureResourceManager azureResourceManager, AzureProperties azureProperties)org.springframework.boot.autoconfigure.data.redis.RedisPropertiesredisProperties(AzureRedisProperties azureRedisProperties, RedisCacheManager redisCacheManager)
-
-
-
Method Detail
-
redisCacheManager
@ConditionalOnMissingBean @Bean public RedisCacheManager redisCacheManager(com.azure.resourcemanager.AzureResourceManager azureResourceManager, AzureProperties azureProperties)
-
redisProperties
@ConditionalOnMissingBean @Primary @Bean public org.springframework.boot.autoconfigure.data.redis.RedisProperties redisProperties(AzureRedisProperties azureRedisProperties, RedisCacheManager redisCacheManager)
-
-