public static interface JedisClientConfiguration.JedisClientConfigurationBuilder
JedisClientConfiguration
.Modifier and Type | Method and Description |
---|---|
JedisClientConfiguration |
build()
Build the
JedisClientConfiguration with the configuration applied from this builder. |
JedisClientConfiguration.JedisClientConfigurationBuilder |
clientName(String clientName)
Configure a
clientName to be set with CLIENT SETNAME . |
JedisClientConfiguration.JedisClientConfigurationBuilder |
connectTimeout(Duration connectTimeout)
Configure a connection timeout.
|
JedisClientConfiguration.JedisClientConfigurationBuilder |
readTimeout(Duration readTimeout)
Configure a read timeout.
|
JedisClientConfiguration.JedisPoolingClientConfigurationBuilder |
usePooling()
Enable connection-pooling.
|
JedisClientConfiguration.JedisSslClientConfigurationBuilder |
useSsl()
Enable SSL connections.
|
JedisClientConfiguration.JedisSslClientConfigurationBuilder useSsl()
JedisClientConfiguration.JedisPoolingClientConfigurationBuilder usePooling()
JedisClientConfiguration.JedisClientConfigurationBuilder clientName(String clientName)
clientName
to be set with CLIENT SETNAME
.clientName
- must not be null.IllegalArgumentException
- if clientName is null.JedisClientConfiguration.JedisClientConfigurationBuilder readTimeout(Duration readTimeout)
readTimeout
- must not be null.IllegalArgumentException
- if readTimeout is null.JedisClientConfiguration.JedisClientConfigurationBuilder connectTimeout(Duration connectTimeout)
connectTimeout
- must not be null.IllegalArgumentException
- if connectTimeout is null.JedisClientConfiguration build()
JedisClientConfiguration
with the configuration applied from this builder.JedisClientConfiguration
object.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.