public static class LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder extends LettuceClientConfiguration.LettuceClientConfigurationBuilder
apply
public LettucePoolingClientConfiguration.LettucePoolingSslClientConfigurationBuilder useSsl()
LettuceClientConfiguration.LettuceClientConfigurationBuilder
public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder clientResources(io.lettuce.core.resource.ClientResources clientResources)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
ClientResources
.clientResources
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
clientResources
- must not be null.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder clientOptions(io.lettuce.core.ClientOptions clientOptions)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
ClientOptions
.clientOptions
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
clientOptions
- must not be null.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder commandTimeout(Duration timeout)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
commandTimeout
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
timeout
- must not be null.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder shutdownTimeout(Duration shutdownTimeout)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
shutdownTimeout
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
shutdownTimeout
- must not be null.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder shutdownQuietPeriod(Duration shutdownQuietPeriod)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
shutdownQuietPeriod
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
shutdownQuietPeriod
- must not be null.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder readFrom(io.lettuce.core.ReadFrom readFrom)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
ReadFrom
. Enables Master/Replica operations if configured. readFrom
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
readFrom
- must not be null.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder clientName(String clientName)
LettuceClientConfiguration.LettuceClientConfigurationBuilder
clientName
to be set with CLIENT SETNAME
.clientName
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
clientName
- must not be null or empty.public LettucePoolingClientConfiguration.LettucePoolingClientConfigurationBuilder poolConfig(org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
GenericObjectPoolConfig
used by the driver.poolConfig
- must not be null.public LettucePoolingClientConfiguration build()
LettuceClientConfiguration.LettuceClientConfigurationBuilder
LettuceClientConfiguration
with the configuration applied from this builder.build
in class LettuceClientConfiguration.LettuceClientConfigurationBuilder
LettuceClientConfiguration
object.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.