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.masterreplica |
Client support for Redis Master/Replica setups.
|
io.lettuce.core.masterslave |
Client support for Redis Master/Slave setups.
|
Modifier and Type | Field and Description |
---|---|
static ReadFrom |
ReadFrom.ANY
Setting to read from any node.
|
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 replica if the master is not available.
|
static ReadFrom |
ReadFrom.NEAREST
Setting to read from the nearest node.
|
static ReadFrom |
ReadFrom.REPLICA
Setting to read from the replica only.
|
static ReadFrom |
ReadFrom.REPLICA_PREFERRED
Setting to read preferred from replica and fall back to master if no replica is not available.
|
static ReadFrom |
ReadFrom.SLAVE
Deprecated.
renamed to
REPLICA . |
static ReadFrom |
ReadFrom.SLAVE_PREFERRED
Deprecated.
Renamed to
REPLICA_PREFERRED . |
Modifier and Type | Method and Description |
---|---|
static ReadFrom |
ReadFrom.valueOf(String name)
Retrieve the
ReadFrom preset by name. |
Modifier and Type | Method and Description |
---|---|
static boolean |
OrderingReadFromAccessor.isOrderSensitive(ReadFrom readFrom)
|
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 |
StatefulRedisMasterReplicaConnection.getReadFrom()
Gets the
ReadFrom setting for this connection. |
Modifier and Type | Method and Description |
---|---|
void |
StatefulRedisMasterReplicaConnection.setReadFrom(ReadFrom readFrom)
Set from which nodes data is read.
|
Modifier and Type | Method and Description |
---|---|
ReadFrom |
StatefulRedisMasterSlaveConnection.getReadFrom()
Deprecated.
Gets the
ReadFrom setting for this connection. |
ReadFrom |
MasterSlaveConnectionProvider.getReadFrom()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
StatefulRedisMasterSlaveConnection.setReadFrom(ReadFrom readFrom)
Deprecated.
Set from which nodes data is read.
|
void |
MasterSlaveConnectionProvider.setReadFrom(ReadFrom readFrom)
Deprecated.
|
Copyright © 2020 lettuce.io. All rights reserved.