Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
io.lettuce.core.api |
Standalone Redis connection API.
|
io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient . |
io.lettuce.core.protocol |
Redis protocol layer abstraction.
|
io.lettuce.core.pubsub |
Pub/Sub connection classes.
|
Modifier and Type | Field and Description |
---|---|
protected ClientOptions |
AbstractRedisClient.clientOptions |
Modifier and Type | Method and Description |
---|---|
ClientOptions |
ClientOptions.Builder.build()
Create a new instance of
ClientOptions . |
ClientOptions |
ConnectionBuilder.clientOptions() |
static ClientOptions |
ClientOptions.copyOf(ClientOptions options)
Create a copy of options
|
static ClientOptions |
ClientOptions.create()
Create a new instance of
ClientOptions with default settings. |
ClientOptions |
RedisChannelHandler.getOptions() |
ClientOptions |
AbstractRedisClient.getOptions()
Returns the
ClientOptions which are valid for that client. |
Modifier and Type | Method and Description |
---|---|
ConnectionBuilder |
ConnectionBuilder.clientOptions(ClientOptions clientOptions) |
static ClientOptions |
ClientOptions.copyOf(ClientOptions options)
Create a copy of options
|
void |
RedisClient.setOptions(ClientOptions clientOptions)
Set the
ClientOptions for the client. |
void |
RedisChannelHandler.setOptions(ClientOptions clientOptions) |
protected void |
AbstractRedisClient.setOptions(ClientOptions clientOptions)
Set the
ClientOptions for the client. |
Constructor and Description |
---|
ClientOptions(ClientOptions original) |
Modifier and Type | Method and Description |
---|---|
ClientOptions |
StatefulConnection.getOptions() |
Modifier and Type | Class and Description |
---|---|
class |
ClusterClientOptions
Client Options to control the behavior of
RedisClusterClient . |
Modifier and Type | Method and Description |
---|---|
static ClusterClientOptions.Builder |
ClusterClientOptions.builder(ClientOptions clientOptions)
Returns a new
ClusterClientOptions.Builder initialized from ClientOptions to construct
ClusterClientOptions . |
Constructor and Description |
---|
PubSubClusterEndpoint(ClientOptions clientOptions,
ClientResources clientResources)
Initialize a new instance that handles commands from the supplied queue.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CommandExpiryWriter.isSupported(ClientOptions clientOptions)
Check whether
ClientOptions is configured to timeout commands. |
Constructor and Description |
---|
CommandExpiryWriter(RedisChannelWriter writer,
ClientOptions clientOptions,
ClientResources clientResources)
Create a new
CommandExpiryWriter . |
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)
Create a new watchdog that adds to new connections to the supplied
ChannelGroup and establishes a new
Channel when disconnected, while reconnect is true. |
DefaultEndpoint(ClientOptions clientOptions,
ClientResources clientResources)
Create a new
DefaultEndpoint . |
Constructor and 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.
|
Copyright © 2019 lettuce.io. All rights reserved.