@Deprecated public class JedisShardInfo extends ShardInfo<Jedis>
Constructor and Description |
---|
JedisShardInfo(HostAndPort hp)
Deprecated.
|
JedisShardInfo(String host)
Deprecated.
|
JedisShardInfo(String host,
int port)
Deprecated.
|
JedisShardInfo(String host,
int port,
boolean ssl)
Deprecated.
|
JedisShardInfo(String host,
int port,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
|
JedisShardInfo(String host,
int port,
int timeout)
Deprecated.
|
JedisShardInfo(String host,
int port,
int timeout,
boolean ssl)
Deprecated.
|
JedisShardInfo(String host,
int port,
int timeout,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
|
JedisShardInfo(String host,
int port,
int connectionTimeout,
int soTimeout,
int weight)
Deprecated.
Avoiding the
weight param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
int connectionTimeout,
int soTimeout,
int weight,
boolean ssl)
Deprecated.
Avoiding the
weight param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
int connectionTimeout,
int soTimeout,
int weight,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
Avoiding the
weight param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
int timeout,
String name)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
int timeout,
String name,
boolean ssl)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
int timeout,
String name,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
String name)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
String name,
boolean ssl)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
int port,
String name,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
|
JedisShardInfo(String host,
String name)
Deprecated.
Avoiding the
name param would ease to transfer the code in next major release. |
JedisShardInfo(String host,
String name,
int port,
int timeout,
int weight)
Deprecated.
Avoiding the
name and weight params would ease to transfer the code in next major release. |
JedisShardInfo(String host,
String name,
int port,
int timeout,
int weight,
boolean ssl)
Deprecated.
Avoiding the
name and weight params would ease to transfer the code in next major release. |
JedisShardInfo(String host,
String name,
int port,
int timeout,
int weight,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
Avoiding the
name and weight params would ease to transfer the code in next major release. |
JedisShardInfo(URI uri)
Deprecated.
|
JedisShardInfo(URI uri,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Jedis |
createResource()
Deprecated.
|
int |
getConnectionTimeout()
Deprecated.
|
int |
getDb()
Deprecated.
|
String |
getHost()
Deprecated.
|
HostnameVerifier |
getHostnameVerifier()
Deprecated.
|
String |
getName()
Deprecated.
|
String |
getPassword()
Deprecated.
|
int |
getPort()
Deprecated.
|
int |
getSoTimeout()
Deprecated.
|
boolean |
getSsl()
Deprecated.
|
SSLParameters |
getSslParameters()
Deprecated.
|
SSLSocketFactory |
getSslSocketFactory()
Deprecated.
|
String |
getUser()
Deprecated.
|
void |
setConnectionTimeout(int connectionTimeout)
Deprecated.
|
void |
setPassword(String auth)
Deprecated.
|
void |
setSoTimeout(int soTimeout)
Deprecated.
|
void |
setUser(String user)
Deprecated.
|
String |
toString()
Deprecated.
|
public JedisShardInfo(String host)
public JedisShardInfo(String host, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
@Deprecated public JedisShardInfo(String host, String name)
name
param would ease to transfer the code in next major release.host
- name
- Avoiding this param would ease to transfer the code in next major release.public JedisShardInfo(HostAndPort hp)
public JedisShardInfo(String host, int port)
public JedisShardInfo(String host, int port, boolean ssl)
public JedisShardInfo(String host, int port, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
@Deprecated public JedisShardInfo(String host, int port, String name)
name
param would ease to transfer the code in next major release.host
- port
- name
- Avoiding this param would ease to transfer the code in next major release.@Deprecated public JedisShardInfo(String host, int port, String name, boolean ssl)
name
param would ease to transfer the code in next major release.host
- port
- name
- Avoiding this param would ease to transfer the code in next major release.ssl
- @Deprecated public JedisShardInfo(String host, int port, String name, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
name
param would ease to transfer the code in next major release.host
- port
- name
- Avoiding this param would ease to transfer the code in next major release.ssl
- sslSocketFactory
- sslParameters
- hostnameVerifier
- public JedisShardInfo(String host, int port, int timeout)
public JedisShardInfo(String host, int port, int timeout, boolean ssl)
public JedisShardInfo(String host, int port, int timeout, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
@Deprecated public JedisShardInfo(String host, int port, int timeout, String name)
name
param would ease to transfer the code in next major release.host
- port
- timeout
- name
- Avoiding this param would ease to transfer the code in next major release.@Deprecated public JedisShardInfo(String host, int port, int timeout, String name, boolean ssl)
name
param would ease to transfer the code in next major release.host
- port
- timeout
- name
- Avoiding this param would ease to transfer the code in next major release.ssl
- @Deprecated public JedisShardInfo(String host, int port, int timeout, String name, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
name
param would ease to transfer the code in next major release.host
- port
- timeout
- name
- Avoiding this param would ease to transfer the code in next major release.ssl
- sslSocketFactory
- sslParameters
- hostnameVerifier
- @Deprecated public JedisShardInfo(String host, int port, int connectionTimeout, int soTimeout, int weight)
weight
param would ease to transfer the code in next major release.host
- port
- connectionTimeout
- soTimeout
- weight
- Avoiding this param would ease to transfer the code in next major release.@Deprecated public JedisShardInfo(String host, int port, int connectionTimeout, int soTimeout, int weight, boolean ssl)
weight
param would ease to transfer the code in next major release.host
- port
- connectionTimeout
- soTimeout
- weight
- Avoiding this param would ease to transfer the code in next major release.ssl
- @Deprecated public JedisShardInfo(String host, int port, int connectionTimeout, int soTimeout, int weight, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
weight
param would ease to transfer the code in next major release.host
- port
- connectionTimeout
- soTimeout
- weight
- Avoiding this param would ease to transfer the code in next major release.ssl
- sslSocketFactory
- sslParameters
- hostnameVerifier
- @Deprecated public JedisShardInfo(String host, String name, int port, int timeout, int weight)
name
and weight
params would ease to transfer the code in next major release.host
- name
- Avoiding this param would ease to transfer the code in next major release.port
- timeout
- weight
- Avoiding this param would ease to transfer the code in next major release.@Deprecated public JedisShardInfo(String host, String name, int port, int timeout, int weight, boolean ssl)
name
and weight
params would ease to transfer the code in next major release.host
- name
- Avoiding this param would ease to transfer the code in next major release.port
- timeout
- weight
- Avoiding this param would ease to transfer the code in next major release.ssl
- @Deprecated public JedisShardInfo(String host, String name, int port, int timeout, int weight, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
name
and weight
params would ease to transfer the code in next major release.host
- name
- Avoiding this param would ease to transfer the code in next major release.port
- timeout
- weight
- Avoiding this param would ease to transfer the code in next major release.ssl
- sslSocketFactory
- sslParameters
- hostnameVerifier
- public JedisShardInfo(URI uri)
public JedisShardInfo(URI uri, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
public String getHost()
public int getPort()
public String getPassword()
public void setPassword(String auth)
public String getUser()
public void setUser(String user)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public int getSoTimeout()
public void setSoTimeout(int soTimeout)
public int getDb()
public boolean getSsl()
public SSLSocketFactory getSslSocketFactory()
public SSLParameters getSslParameters()
public HostnameVerifier getHostnameVerifier()
public Jedis createResource()
createResource
in class ShardInfo<Jedis>
Copyright © 2022. All rights reserved.