@Deprecated public abstract class LettuceFactoryBeanSupport<T> extends AbstractFactoryBean<T>
FactoryBean interface to allow easy setup of
RedisClient factories via Spring configuration.| Modifier and Type | Field and Description |
|---|---|
static String |
URI_SCHEME_REDIS_SENTINEL
Deprecated.
|
logger| Constructor and Description |
|---|
LettuceFactoryBeanSupport()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
ClientResources |
getClientResources()
Deprecated.
|
String |
getPassword()
Deprecated.
|
RedisURI |
getRedisURI()
Deprecated.
|
URI |
getUri()
Deprecated.
|
boolean |
isSingleton()
Deprecated.
|
void |
setClientResources(ClientResources clientResources)
Deprecated.
Set shared client resources to reuse across different client instances.
|
void |
setPassword(String password)
Deprecated.
Sets the password to use for a Redis connection.
|
void |
setRedisURI(RedisURI redisURI)
Deprecated.
Set the RedisURI for connecting Redis.
|
void |
setUri(URI uri)
Deprecated.
Set the URI for connecting Redis.
|
createInstance, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, setBeanClassLoader, setBeanFactory, setSingletonpublic static final String URI_SCHEME_REDIS_SENTINEL
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class AbstractFactoryBean<T>Exceptionpublic URI getUri()
public void setUri(URI uri)
RedisURI for URL schemes. Either the
URI of the RedisURI must be set in order to connect to Redis.uri - the URI.public RedisURI getRedisURI()
public void setRedisURI(RedisURI redisURI)
RedisURI for URL schemes. Either the URI of the RedisURI must be set
in order to connect to Redis.redisURI - the RedisURI.public String getPassword()
public void setPassword(String password)
password - the password.public ClientResources getClientResources()
public void setClientResources(ClientResources clientResources)
ClientResources instance.clientResources - the client resources.public boolean isSingleton()
isSingleton in interface FactoryBean<T>isSingleton in class AbstractFactoryBean<T>Copyright © 2020 lettuce.io. All rights reserved.