@Configuration
@ConditionalOnProperty(value="genie.redis.enabled")
@Import(value=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class)
public class RedisConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RedisConfig.EnableRedisRepositoryConfig
Whether or not we should enable Redis data repositories.
|
Constructor and Description |
---|
RedisConfig() |
Modifier and Type | Method and Description |
---|---|
void |
postConstruct()
Log that Redis is enabled.
|