public static class JedisClientConfiguration.DefaultJedisClientConfigurationBuilder extends Object implements JedisClientConfiguration.JedisClientConfigurationBuilder, JedisClientConfiguration.JedisPoolingClientConfigurationBuilder, JedisClientConfiguration.JedisSslClientConfigurationBuilder
JedisClientConfiguration.JedisClientConfigurationBuilder
implementation to build an immutable
JedisClientConfiguration
.public JedisClientConfiguration.JedisSslClientConfigurationBuilder useSsl()
JedisClientConfiguration.JedisClientConfigurationBuilder
useSsl
in interface JedisClientConfiguration.JedisClientConfigurationBuilder
JedisClientConfiguration.JedisSslClientConfigurationBuilder
.public JedisClientConfiguration.JedisSslClientConfigurationBuilder sslSocketFactory(SSLSocketFactory sslSocketFactory)
sslSocketFactory
in interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
sslSocketFactory
- must not be null.public JedisClientConfiguration.JedisSslClientConfigurationBuilder sslParameters(SSLParameters sslParameters)
sslParameters
in interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
sslParameters
- must not be null.public JedisClientConfiguration.JedisSslClientConfigurationBuilder hostnameVerifier(HostnameVerifier hostnameVerifier)
hostnameVerifier
in interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
hostnameVerifier
- must not be null.public JedisClientConfiguration.JedisPoolingClientConfigurationBuilder usePooling()
JedisClientConfiguration.JedisClientConfigurationBuilder
usePooling
in interface JedisClientConfiguration.JedisClientConfigurationBuilder
JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
.public JedisClientConfiguration.JedisPoolingClientConfigurationBuilder poolConfig(org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
poolConfig
in interface JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
poolConfig
- must not be null.public JedisClientConfiguration.JedisClientConfigurationBuilder and()
JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
and
in interface JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
and
in interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
JedisClientConfiguration.JedisClientConfigurationBuilder
.public JedisClientConfiguration.JedisClientConfigurationBuilder clientName(String clientName)
JedisClientConfiguration.JedisClientConfigurationBuilder
clientName
to be set with CLIENT SETNAME
.clientName
in interface JedisClientConfiguration.JedisClientConfigurationBuilder
clientName
- must not be null.public JedisClientConfiguration.JedisClientConfigurationBuilder readTimeout(Duration readTimeout)
JedisClientConfiguration.JedisClientConfigurationBuilder
readTimeout
in interface JedisClientConfiguration.JedisClientConfigurationBuilder
readTimeout
- must not be null.public JedisClientConfiguration.JedisClientConfigurationBuilder connectTimeout(Duration connectTimeout)
JedisClientConfiguration.JedisClientConfigurationBuilder
connectTimeout
in interface JedisClientConfiguration.JedisClientConfigurationBuilder
connectTimeout
- must not be null.public JedisClientConfiguration build()
JedisClientConfiguration.JedisClientConfigurationBuilder
JedisClientConfiguration
with the configuration applied from this builder.build
in interface JedisClientConfiguration.JedisClientConfigurationBuilder
build
in interface JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
build
in interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
JedisClientConfiguration
object.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.