Uses of Class
io.lettuce.core.ReadFrom
-
Packages that use ReadFrom Package Description io.lettuce.core The Redis client package containingRedisClient
for Redis Standalone and Redis Sentinel operations.io.lettuce.core.cluster Client for Redis Cluster, seeRedisClusterClient
.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. -
-
Uses of ReadFrom in io.lettuce.core
Fields in io.lettuce.core declared as ReadFrom Modifier and Type Field Description static ReadFrom
ReadFrom. ANY
Setting to read from any node.static ReadFrom
ReadFrom. ANY_REPLICA
Setting to read from any replica node.static ReadFrom
ReadFrom. LOWEST_LATENCY
Setting to read from the node with the lowest latency during topology discovery.static ReadFrom
ReadFrom. MASTER
Setting to read from the upstream only.static ReadFrom
ReadFrom. MASTER_PREFERRED
Setting to read preferred from the upstream and fall back to a replica if the master is not available.static ReadFrom
ReadFrom. NEAREST
Deprecated.since 6.1.7 as we're renaming this setting toLOWEST_LATENCY
for more clarity what this setting actually represents.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 upstream if no replica is available.static ReadFrom
ReadFrom. SLAVE
Deprecated.renamed toREPLICA
.static ReadFrom
ReadFrom. SLAVE_PREFERRED
Deprecated.Renamed toREPLICA_PREFERRED
.static ReadFrom
ReadFrom. UPSTREAM
Setting to read from the upstream only.static ReadFrom
ReadFrom. UPSTREAM_PREFERRED
Setting to read preferred from the upstream and fall back to a replica if the upstream is not available.Methods in io.lettuce.core that return ReadFrom Modifier and Type Method Description static ReadFrom
ReadFrom. regex(Pattern pattern)
Read from any node that hasRedisURI
matching with the given pattern.static ReadFrom
ReadFrom. regex(Pattern pattern, boolean orderSensitive)
Read from any node that hasRedisURI
matching with the given pattern.static ReadFrom
ReadFrom. subnet(String... cidrNotations)
Setting to read from any node in the subnets.static ReadFrom
ReadFrom. valueOf(String name)
Retrieve theReadFrom
preset by name.Methods in io.lettuce.core with parameters of type ReadFrom Modifier and Type Method Description static boolean
OrderingReadFromAccessor. isOrderSensitive(ReadFrom readFrom)
-
Uses of ReadFrom in io.lettuce.core.cluster
Methods in io.lettuce.core.cluster that return ReadFrom Modifier and Type Method Description ReadFrom
StatefulRedisClusterConnectionImpl. getReadFrom()
Methods in io.lettuce.core.cluster with parameters of type ReadFrom Modifier and Type Method Description void
StatefulRedisClusterConnectionImpl. setReadFrom(ReadFrom readFrom)
-
Uses of ReadFrom in io.lettuce.core.cluster.api
Methods in io.lettuce.core.cluster.api that return ReadFrom Modifier and Type Method Description ReadFrom
StatefulRedisClusterConnection. getReadFrom()
Gets theReadFrom
setting for this connection.Methods in io.lettuce.core.cluster.api with parameters of type ReadFrom Modifier and Type Method Description void
StatefulRedisClusterConnection. setReadFrom(ReadFrom readFrom)
Set from which nodes data is read. -
Uses of ReadFrom in io.lettuce.core.masterreplica
Methods in io.lettuce.core.masterreplica that return ReadFrom Modifier and Type Method Description ReadFrom
StatefulRedisMasterReplicaConnection. getReadFrom()
Gets theReadFrom
setting for this connection.Methods in io.lettuce.core.masterreplica with parameters of type ReadFrom Modifier and Type Method Description void
StatefulRedisMasterReplicaConnection. setReadFrom(ReadFrom readFrom)
Set from which nodes data is read. -
Uses of ReadFrom in io.lettuce.core.masterslave
Methods in io.lettuce.core.masterslave that return ReadFrom Modifier and Type Method Description ReadFrom
StatefulRedisMasterSlaveConnection. getReadFrom()
Deprecated.Gets theReadFrom
setting for this connection.Methods in io.lettuce.core.masterslave with parameters of type ReadFrom Modifier and Type Method Description void
StatefulRedisMasterSlaveConnection. setReadFrom(ReadFrom readFrom)
Deprecated.Set from which nodes data is read.
-