public final class DefaultJedisClientConfig extends Object implements JedisClientConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultJedisClientConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultJedisClientConfig.Builder |
builder() |
static DefaultJedisClientConfig |
copyConfig(JedisClientConfig copy) |
int |
getBlockingSocketTimeoutMillis() |
String |
getClientName() |
int |
getConnectionTimeoutMillis() |
int |
getDatabase() |
HostAndPortMapper |
getHostAndPortMapper() |
HostnameVerifier |
getHostnameVerifier() |
String |
getPassword() |
int |
getSocketTimeoutMillis() |
SSLParameters |
getSslParameters() |
SSLSocketFactory |
getSslSocketFactory() |
String |
getUser() |
boolean |
isSsl() |
void |
updatePassword(String password) |
public int getConnectionTimeoutMillis()
getConnectionTimeoutMillis in interface JedisClientConfigpublic int getSocketTimeoutMillis()
getSocketTimeoutMillis in interface JedisClientConfigpublic int getBlockingSocketTimeoutMillis()
getBlockingSocketTimeoutMillis in interface JedisClientConfigpublic String getUser()
getUser in interface JedisClientConfigpublic String getPassword()
getPassword in interface JedisClientConfigpublic void updatePassword(String password)
updatePassword in interface JedisClientConfigpublic int getDatabase()
getDatabase in interface JedisClientConfigpublic String getClientName()
getClientName in interface JedisClientConfigpublic boolean isSsl()
isSsl in interface JedisClientConfigtrue - to create a TLS connection. false - otherwise.public SSLSocketFactory getSslSocketFactory()
getSslSocketFactory in interface JedisClientConfigpublic SSLParameters getSslParameters()
getSslParameters in interface JedisClientConfigpublic HostnameVerifier getHostnameVerifier()
getHostnameVerifier in interface JedisClientConfigpublic HostAndPortMapper getHostAndPortMapper()
getHostAndPortMapper in interface JedisClientConfigpublic static DefaultJedisClientConfig.Builder builder()
public static DefaultJedisClientConfig copyConfig(JedisClientConfig copy)
Copyright © 2021. All rights reserved.