generated from root/miduo_server
log
parent
14a2a9fc0c
commit
6f40d90a42
|
|
@ -85,7 +85,7 @@ public class MyStringRedisTemplate {
|
||||||
connectionFactory.afterPropertiesSet();
|
connectionFactory.afterPropertiesSet();
|
||||||
//实例化
|
//实例化
|
||||||
redisObjectTemplate = new StringRedisTemplate(connectionFactory);
|
redisObjectTemplate = new StringRedisTemplate(connectionFactory);
|
||||||
LOGGER.info("initUserCacheDb==>host={},port={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), connectionFactory.isRedisSentinelAware());
|
LOGGER.info("initUserCacheDb==>host={},port={} db={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), redisProperties.getDatabase(),connectionFactory.isRedisSentinelAware());
|
||||||
}
|
}
|
||||||
|
|
||||||
public StringRedisTemplate getRedisObjectTemplate() {
|
public StringRedisTemplate getRedisObjectTemplate() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue