public class DefaultJedisSocketFactory extends Object implements JedisSocketFactory
| Constructor and Description |
|---|
DefaultJedisSocketFactory(String host,
int port,
int connectionTimeout,
int soTimeout,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
int |
getConnectionTimeout() |
String |
getDescription() |
String |
getHost() |
int |
getPort() |
int |
getSoTimeout() |
void |
setConnectionTimeout(int connectionTimeout) |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setSoTimeout(int soTimeout) |
public DefaultJedisSocketFactory(String host, int port, int connectionTimeout, int soTimeout, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
public Socket createSocket() throws IOException
createSocket in interface JedisSocketFactoryIOExceptionpublic 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 JedisSocketFactoryCopyright © 2020. All rights reserved.