Uses of Class
io.lettuce.core.ReadFrom
| 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.
|
-
Uses of ReadFrom in io.lettuce.core
Fields in io.lettuce.core declared as ReadFrom Modifier and Type Field Description static ReadFromReadFrom. ANYSetting to read from any node.static ReadFromReadFrom. ANY_REPLICASetting to read from any replica node.static ReadFromReadFrom. MASTERSetting to read from the upstream only.static ReadFromReadFrom. MASTER_PREFERREDSetting to read preferred from the upstream and fall back to a replica if the master is not available.static ReadFromReadFrom. NEARESTSetting to read from the nearest node.static ReadFromReadFrom. REPLICASetting to read from the replica only.static ReadFromReadFrom. REPLICA_PREFERREDSetting to read preferred from replica and fall back to upstream if no replica is not available.static ReadFromReadFrom. SLAVEDeprecated.static ReadFromReadFrom. SLAVE_PREFERREDDeprecated.Renamed toREPLICA_PREFERRED.static ReadFromReadFrom. UPSTREAMSetting to read from the upstream only.static ReadFromReadFrom. UPSTREAM_PREFERREDSetting 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 ReadFromReadFrom. regex(Pattern pattern)Read from any node that hasRedisURImatching with the given pattern.static ReadFromReadFrom. regex(Pattern pattern, boolean orderSensitive)Read from any node that hasRedisURImatching with the given pattern.static ReadFromReadFrom. subnet(String... cidrNotations)Setting to read from any node in the subnets.static ReadFromReadFrom. valueOf(String name)Retrieve theReadFrompreset by name.Methods in io.lettuce.core with parameters of type ReadFrom Modifier and Type Method Description static booleanOrderingReadFromAccessor. 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 ReadFromStatefulRedisClusterConnectionImpl. getReadFrom()Methods in io.lettuce.core.cluster with parameters of type ReadFrom Modifier and Type Method Description voidStatefulRedisClusterConnectionImpl. 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 ReadFromStatefulRedisClusterConnection. getReadFrom()Gets theReadFromsetting for this connection.Methods in io.lettuce.core.cluster.api with parameters of type ReadFrom Modifier and Type Method Description voidStatefulRedisClusterConnection. 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 ReadFromStatefulRedisMasterReplicaConnection. getReadFrom()Gets theReadFromsetting for this connection.Methods in io.lettuce.core.masterreplica with parameters of type ReadFrom Modifier and Type Method Description voidStatefulRedisMasterReplicaConnection. 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 ReadFromStatefulRedisMasterSlaveConnection. getReadFrom()Deprecated.Gets theReadFromsetting for this connection.Methods in io.lettuce.core.masterslave with parameters of type ReadFrom Modifier and Type Method Description voidStatefulRedisMasterSlaveConnection. setReadFrom(ReadFrom readFrom)Deprecated.Set from which nodes data is read.
REPLICA.