public interface JedisSocketFactory
You can use a custom JedisSocketFactory for many use cases, such as: - a custom address resolver - a unix domain socket - a custom configuration for you TCP sockets
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket()
WARNING: Throwing IOException will not be supported in future.
|
int |
getConnectionTimeout()
Deprecated.
|
String |
getDescription()
Deprecated.
|
String |
getHost()
Deprecated.
|
int |
getPort()
Deprecated.
|
int |
getSoTimeout()
Deprecated.
|
void |
setConnectionTimeout(int connectionTimeout)
Deprecated.
|
void |
setHost(String host)
Deprecated.
|
void |
setPort(int port)
Deprecated.
|
void |
setSoTimeout(int soTimeout)
Deprecated.
|
void |
updateHostAndPort(HostAndPort hostAndPort) |
Socket createSocket() throws IOException, JedisConnectionException
IOException
- this will be removed in futureJedisConnectionException
void updateHostAndPort(HostAndPort hostAndPort)
@Deprecated String getDescription()
@Deprecated String getHost()
@Deprecated void setHost(String host)
@Deprecated int getPort()
@Deprecated void setPort(int port)
@Deprecated int getConnectionTimeout()
@Deprecated void setConnectionTimeout(int connectionTimeout)
@Deprecated int getSoTimeout()
@Deprecated void setSoTimeout(int soTimeout)
Copyright © 2022. All rights reserved.