Uses of Class
io.lettuce.core.ClientOptions
-
Packages that use ClientOptions Package Description io.lettuce.core The Redis client package containingRedisClient
for Redis Standalone and Redis Sentinel operations.io.lettuce.core.api Standalone Redis connection API.io.lettuce.core.cluster Client for Redis Cluster, seeRedisClusterClient
.io.lettuce.core.protocol Redis protocol layer abstraction.io.lettuce.core.pubsub Pub/Sub connection classes. -
-
Uses of ClientOptions in io.lettuce.core
Methods in io.lettuce.core that return ClientOptions Modifier and Type Method Description ClientOptions
ClientOptions.Builder. build()
Create a new instance ofClientOptions
.ClientOptions
ConnectionBuilder. clientOptions()
static ClientOptions
ClientOptions. copyOf(ClientOptions options)
Create a copy of optionsstatic ClientOptions
ClientOptions. create()
Create a new instance ofClientOptions
with default settings.ClientOptions
AbstractRedisClient. getOptions()
Returns theClientOptions
which are valid for that client.ClientOptions
RedisChannelHandler. getOptions()
Methods in io.lettuce.core with parameters of type ClientOptions Modifier and Type Method Description ConnectionBuilder
ConnectionBuilder. clientOptions(ClientOptions clientOptions)
static ClientOptions
ClientOptions. copyOf(ClientOptions options)
Create a copy of optionsprotected void
AbstractRedisClient. setOptions(ClientOptions clientOptions)
Set theClientOptions
for the client.void
RedisChannelHandler. setOptions(ClientOptions clientOptions)
void
RedisClient. setOptions(ClientOptions clientOptions)
Set theClientOptions
for the client.Constructors in io.lettuce.core with parameters of type ClientOptions Constructor Description ClientOptions(ClientOptions original)
-
Uses of ClientOptions in io.lettuce.core.api
Methods in io.lettuce.core.api that return ClientOptions Modifier and Type Method Description ClientOptions
StatefulConnection. getOptions()
-
Uses of ClientOptions in io.lettuce.core.cluster
Subclasses of ClientOptions in io.lettuce.core.cluster Modifier and Type Class Description class
ClusterClientOptions
Client Options to control the behavior ofRedisClusterClient
.Methods in io.lettuce.core.cluster with parameters of type ClientOptions Modifier and Type Method Description static ClusterClientOptions.Builder
ClusterClientOptions. builder(ClientOptions clientOptions)
Returns a newClusterClientOptions.Builder
initialized fromClientOptions
to constructClusterClientOptions
.Constructors in io.lettuce.core.cluster with parameters of type ClientOptions Constructor Description PubSubClusterEndpoint(ClientOptions clientOptions, ClientResources clientResources)
Initialize a new instance that handles commands from the supplied queue. -
Uses of ClientOptions in io.lettuce.core.protocol
Methods in io.lettuce.core.protocol with parameters of type ClientOptions Modifier and Type Method Description static boolean
CommandExpiryWriter. isSupported(ClientOptions clientOptions)
Check whetherClientOptions
is configured to timeout commands.Constructors in io.lettuce.core.protocol with parameters of type ClientOptions Constructor Description CommandExpiryWriter(RedisChannelWriter delegate, ClientOptions clientOptions, ClientResources clientResources)
Create a newCommandExpiryWriter
.CommandHandler(ClientOptions clientOptions, ClientResources clientResources, Endpoint endpoint)
Initialize a new instance that handles commands from the supplied queue.ConnectionWatchdog(Delay reconnectDelay, ClientOptions clientOptions, Bootstrap bootstrap, Timer timer, EventExecutorGroup reconnectWorkers, Mono<SocketAddress> socketAddressSupplier, ReconnectionListener reconnectionListener, ConnectionFacade connectionFacade, EventBus eventBus, Endpoint endpoint)
Create a new watchdog that adds to new connections to the suppliedChannelGroup
and establishes a newChannel
when disconnected, while reconnect is true.DefaultEndpoint(ClientOptions clientOptions, ClientResources clientResources)
Create a newDefaultEndpoint
. -
Uses of ClientOptions in io.lettuce.core.pubsub
Constructors in io.lettuce.core.pubsub with parameters of type ClientOptions Constructor Description PubSubCommandHandler(ClientOptions clientOptions, ClientResources clientResources, RedisCodec<K,V> codec, PubSubEndpoint<K,V> endpoint)
Initialize a new instance.PubSubEndpoint(ClientOptions clientOptions, ClientResources clientResources)
Initialize a new instance that handles commands from the supplied queue.
-