| Package | Description |
|---|---|
| com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
| com.lambdaworks.redis.api |
Standalone Redis connection API.
|
| com.lambdaworks.redis.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| com.lambdaworks.redis.protocol |
Redis protocol layer abstraction.
|
| com.lambdaworks.redis.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 | Field and Description |
|---|---|
protected ClientOptions |
CommandHandler.clientOptions |
| Constructor and Description |
|---|
CommandHandler(ClientOptions clientOptions,
ClientResources clientResources,
Queue<RedisCommand<K,V,?>> queue)
Initialize a new instance that handles commands from the supplied queue.
|
ConnectionWatchdog(Delay reconnectDelay,
ClientOptions clientOptions,
Bootstrap bootstrap,
Timer timer,
EventExecutorGroup reconnectWorkers,
java.util.function.Supplier<SocketAddress> socketAddressSupplier,
ReconnectionListener reconnectionListener)
Create a new watchdog that adds to new connections to the supplied
ChannelGroup and establishes a new
Channel when disconnected, while reconnect is true. |
| Constructor and Description |
|---|
PubSubCommandHandler(ClientOptions clientOptions,
ClientResources clientResources,
Queue<RedisCommand<K,V,?>> queue,
RedisCodec<K,V> codec)
Initialize a new instance.
|
Copyright © 2016. All rights reserved.