@Deprecated public class RedisClusterClientFactoryBean extends LettuceFactoryBeanSupport<RedisClusterClient>
RedisClusterClient
instances. Needs either a URI
or a RedisURI
as input and allows
to reuse ClientResources
. URI Format: redis://[[email protected]]host[:port][,host2[:port2]]
rediss://[[email protected]]host[:port][,host2[:port2]]
RedisURI
,
ClientResourcesFactoryBean
URI_SCHEME_REDIS_SENTINEL
logger
Constructor and Description |
---|
RedisClusterClientFactoryBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected RedisClusterClient |
createInstance()
Deprecated.
|
protected void |
destroyInstance(RedisClusterClient instance)
Deprecated.
|
Class<?> |
getObjectType()
Deprecated.
|
protected Collection<RedisURI> |
getRedisURIs()
Deprecated.
|
boolean |
isVerifyPeer()
Deprecated.
|
void |
setVerifyPeer(boolean verifyPeer)
Deprecated.
|
getClientResources, getPassword, getRedisURI, getUri, isSingleton, setClientResources, setPassword, setRedisURI, setUri
destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, setBeanClassLoader, setBeanFactory, setSingleton
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class LettuceFactoryBeanSupport<RedisClusterClient>
Exception
protected Collection<RedisURI> getRedisURIs()
protected void destroyInstance(RedisClusterClient instance) throws Exception
destroyInstance
in class AbstractFactoryBean<RedisClusterClient>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<RedisClusterClient>
getObjectType
in class AbstractFactoryBean<RedisClusterClient>
protected RedisClusterClient createInstance() throws Exception
createInstance
in class AbstractFactoryBean<RedisClusterClient>
Exception
public boolean isVerifyPeer()
public void setVerifyPeer(boolean verifyPeer)
Copyright © 2020 lettuce.io. All rights reserved.