public class RedisClientFactoryBean extends LettuceFactoryBeanSupport<RedisClient>
redis-sentinel://host[:port][,host2[:port2]][/databaseNumber]#sentinelMasterId
redis://host[:port][/databaseNumber]
URI_SCHEME_REDIS_SENTINEL| Constructor and Description |
|---|
RedisClientFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected RedisClient |
createInstance() |
protected void |
destroyInstance(RedisClient instance) |
Class<?> |
getObjectType() |
getPassword, getRedisURI, getUri, setPassword, setRedisURI, setUripublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class LettuceFactoryBeanSupport<RedisClient>Exceptionprotected void destroyInstance(RedisClient instance) throws Exception
destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<RedisClient>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<RedisClient>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<RedisClient>protected RedisClient createInstance() throws Exception
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<RedisClient>ExceptionCopyright © 2015. All rights reserved.