public abstract class RedisConnectionConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
RedisConnectionConfiguration.ConnectionInfo |
Modifier | Constructor and Description |
---|---|
protected |
RedisConnectionConfiguration(org.springframework.boot.autoconfigure.data.redis.RedisProperties properties,
org.springframework.beans.factory.ObjectProvider<org.springframework.data.redis.connection.RedisSentinelConfiguration> sentinelConfigurationProvider,
org.springframework.beans.factory.ObjectProvider<org.springframework.data.redis.connection.RedisClusterConfiguration> clusterConfigurationProvider) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.data.redis.connection.RedisClusterConfiguration |
getClusterConfiguration()
Create a
RedisClusterConfiguration if necessary. |
protected org.apache.commons.pool2.impl.GenericObjectPoolConfig |
getPoolConfig(org.springframework.boot.autoconfigure.data.redis.RedisProperties.Pool properties,
org.apache.commons.pool2.impl.GenericObjectPoolConfig config) |
protected org.springframework.boot.autoconfigure.data.redis.RedisProperties |
getProperties() |
protected org.springframework.data.redis.connection.RedisSentinelConfiguration |
getSentinelConfig() |
protected org.springframework.data.redis.connection.RedisStandaloneConfiguration |
getStandaloneConfig() |
protected RedisConnectionConfiguration.ConnectionInfo |
parseUrl(String url) |
protected RedisConnectionConfiguration(org.springframework.boot.autoconfigure.data.redis.RedisProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.data.redis.connection.RedisSentinelConfiguration> sentinelConfigurationProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.data.redis.connection.RedisClusterConfiguration> clusterConfigurationProvider)
protected final org.apache.commons.pool2.impl.GenericObjectPoolConfig getPoolConfig(org.springframework.boot.autoconfigure.data.redis.RedisProperties.Pool properties, org.apache.commons.pool2.impl.GenericObjectPoolConfig config)
protected final org.springframework.data.redis.connection.RedisStandaloneConfiguration getStandaloneConfig()
protected final org.springframework.data.redis.connection.RedisSentinelConfiguration getSentinelConfig()
protected final org.springframework.data.redis.connection.RedisClusterConfiguration getClusterConfiguration()
RedisClusterConfiguration
if necessary.protected final org.springframework.boot.autoconfigure.data.redis.RedisProperties getProperties()
protected RedisConnectionConfiguration.ConnectionInfo parseUrl(String url)
Copyright © 2019. All rights reserved.