public class DefaultJedisSocketFactory extends Object implements JedisSocketFactory
| Modifier and Type | Field and Description |
|---|---|
protected static HostAndPort |
DEFAULT_HOST_AND_PORT |
| Constructor and Description |
|---|
DefaultJedisSocketFactory() |
DefaultJedisSocketFactory(HostAndPort hostAndPort) |
DefaultJedisSocketFactory(HostAndPort hostAndPort,
JedisClientConfig config) |
DefaultJedisSocketFactory(JedisClientConfig config) |
DefaultJedisSocketFactory(String host,
int port,
int connectionTimeout,
int socketTimeout,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
|
protected static final HostAndPort DEFAULT_HOST_AND_PORT
public DefaultJedisSocketFactory()
public DefaultJedisSocketFactory(HostAndPort hostAndPort)
public DefaultJedisSocketFactory(JedisClientConfig config)
@Deprecated public DefaultJedisSocketFactory(String host, int port, int connectionTimeout, int socketTimeout, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
public DefaultJedisSocketFactory(HostAndPort hostAndPort, JedisClientConfig config)
public Socket createSocket() throws JedisConnectionException
JedisSocketFactorycreateSocket in interface JedisSocketFactoryJedisConnectionExceptionpublic void updateHostAndPort(HostAndPort hostAndPort)
updateHostAndPort in interface JedisSocketFactorypublic HostAndPort getSocketHostAndPort()
public HostAndPort getHostAndPort()
public void setHostAndPort(HostAndPort hostAndPort)
public String getDescription()
getDescription in interface JedisSocketFactorypublic String getHost()
getHost in interface JedisSocketFactorypublic void setHost(String host)
setHost in interface JedisSocketFactorypublic int getPort()
getPort in interface JedisSocketFactorypublic void setPort(int port)
setPort in interface JedisSocketFactorypublic int getConnectionTimeout()
getConnectionTimeout in interface JedisSocketFactorypublic void setConnectionTimeout(int connectionTimeout)
setConnectionTimeout in interface JedisSocketFactorypublic int getSoTimeout()
getSoTimeout in interface JedisSocketFactorypublic void setSoTimeout(int soTimeout)
setSoTimeout in interface JedisSocketFactorypublic boolean isSsl()
public void setSsl(boolean ssl)
public SSLSocketFactory getSslSocketFactory()
public void setSslSocketFactory(SSLSocketFactory sslSocketFactory)
public SSLParameters getSslParameters()
public void setSslParameters(SSLParameters sslParameters)
public HostnameVerifier getHostnameVerifier()
public void setHostnameVerifier(HostnameVerifier hostnameVerifier)
public HostAndPortMapper getHostAndPortMapper()
public void setHostAndPortMapper(HostAndPortMapper hostAndPortMapper)
Copyright © 2021. All rights reserved.