Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient . |
io.lettuce.core.cluster.api |
Redis Cluster connection API.
|
io.lettuce.core.masterslave |
Client support for Redis Master/Slave setups.
|
Modifier and Type | Field and Description |
---|---|
static ReadFrom |
ReadFrom.MASTER
Setting to read from the master only.
|
static ReadFrom |
ReadFrom.MASTER_PREFERRED
Setting to read preferred from the master and fall back to a slave if the master is not available.
|
static ReadFrom |
ReadFrom.NEAREST
Setting to read from the nearest node.
|
static ReadFrom |
ReadFrom.SLAVE
Setting to read from the slave only.
|
static ReadFrom |
ReadFrom.SLAVE_PREFERRED
Setting to read preferred from slaves and fall back to master if no slave is not available.
|
Modifier and Type | Method and Description |
---|---|
static ReadFrom |
ReadFrom.valueOf(String name)
Retrieve the
ReadFrom preset by name. |
Modifier and Type | Method and Description |
---|---|
ReadFrom |
StatefulRedisClusterConnectionImpl.getReadFrom() |
Modifier and Type | Method and Description |
---|---|
void |
StatefulRedisClusterConnectionImpl.setReadFrom(ReadFrom readFrom) |
Modifier and Type | Method and Description |
---|---|
ReadFrom |
StatefulRedisClusterConnection.getReadFrom()
Gets the
ReadFrom setting for this connection. |
Modifier and Type | Method and Description |
---|---|
void |
StatefulRedisClusterConnection.setReadFrom(ReadFrom readFrom)
Set from which nodes data is read.
|
Modifier and Type | Method and Description |
---|---|
ReadFrom |
StatefulRedisMasterSlaveConnection.getReadFrom()
Gets the
ReadFrom setting for this connection. |
ReadFrom |
MasterSlaveConnectionProvider.getReadFrom() |
Modifier and Type | Method and Description |
---|---|
void |
StatefulRedisMasterSlaveConnection.setReadFrom(ReadFrom readFrom)
Set from which nodes data is read.
|
void |
MasterSlaveConnectionProvider.setReadFrom(ReadFrom readFrom) |
Copyright © 2017 lettuce.io. All rights reserved.