@Deprecated public class RedisClientFactoryBean extends LettuceFactoryBeanSupport<RedisClient>
RedisClient instances. Needs either a URI or a RedisURI as input and allows
to reuse ClientResources. URI Formats: redis-sentinel://host[:port][,host2[:port2]][/databaseNumber]#sentinelMasterId
redis://host[:port][/databaseNumber]
RedisURI,
ClientResourcesFactoryBeanURI_SCHEME_REDIS_SENTINELlogger| Constructor and Description |
|---|
RedisClientFactoryBean()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected RedisClient |
createInstance()
Deprecated.
|
protected void |
destroyInstance(RedisClient instance)
Deprecated.
|
Class<?> |
getObjectType()
Deprecated.
|
getClientResources, getPassword, getRedisURI, getUri, isSingleton, setClientResources, setPassword, setRedisURI, setUridestroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, setBeanClassLoader, setBeanFactory, setSingletonpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class LettuceFactoryBeanSupport<RedisClient>Exceptionprotected void destroyInstance(RedisClient instance) throws Exception
destroyInstance in class AbstractFactoryBean<RedisClient>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<RedisClient>getObjectType in class AbstractFactoryBean<RedisClient>protected RedisClient createInstance() throws Exception
createInstance in class AbstractFactoryBean<RedisClient>ExceptionCopyright © 2020 lettuce.io. All rights reserved.