@Configuration @ConditionalOnClass(value={org.springframework.data.redis.connection.jedis.JedisConnection.class,org.springframework.data.redis.core.RedisOperations.class,redis.clients.jedis.Jedis.class}) @EnableConfigurationProperties public class RedisAutoConfiguration extends Object
Auto-configuration
for Spring Data's Redis support.Modifier and Type | Class and Description |
---|---|
protected static class |
RedisAutoConfiguration.AbstractRedisConfiguration
Base class for Redis configurations.
|
protected static class |
RedisAutoConfiguration.RedisConfiguration
Standard Redis configuration.
|
protected static class |
RedisAutoConfiguration.RedisConnectionConfiguration
Redis connection configuration.
|
protected static class |
RedisAutoConfiguration.RedisPooledConnectionConfiguration
Redis pooled connection configuration.
|
Constructor and Description |
---|
RedisAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
RedisProperties |
redisProperties() |
@Bean(name="org.springframework.autoconfigure.redis.RedisProperties") @ConditionalOnMissingBean public RedisProperties redisProperties()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.