public class RedisProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RedisProperties.Client |
static class |
RedisProperties.Cluster |
static class |
RedisProperties.Pool |
static class |
RedisProperties.Sentinel |
static class |
RedisProperties.Standalone |
static class |
RedisProperties.Type |
| Constructor and Description |
|---|
RedisProperties() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.redis.connection.RedisConnectionFactory |
createConnectionFactory() |
org.springframework.data.redis.connection.RedisConnectionFactory |
createConnectionFactory(boolean initialize) |
<K,V> org.springframework.data.redis.core.RedisTemplate<K,V> |
createRedisTemplate(boolean initialize) |
<K,V> org.springframework.data.redis.core.RedisTemplate<K,V> |
createRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) |
<K,V> org.springframework.data.redis.core.RedisTemplate<K,V> |
createRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
boolean initialize) |
public org.springframework.data.redis.connection.RedisConnectionFactory createConnectionFactory()
throws CommonException
CommonExceptionpublic org.springframework.data.redis.connection.RedisConnectionFactory createConnectionFactory(boolean initialize)
throws CommonException
CommonExceptionpublic <K,V> org.springframework.data.redis.core.RedisTemplate<K,V> createRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
boolean initialize)
public <K,V> org.springframework.data.redis.core.RedisTemplate<K,V> createRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
public <K,V> org.springframework.data.redis.core.RedisTemplate<K,V> createRedisTemplate(boolean initialize)
throws CommonException
CommonExceptionCopyright © 2023. All rights reserved.