Package io.lettuce.core
Interface ReadFrom.Nodes
-
- All Superinterfaces:
Iterable<RedisNodeDescription>
- Enclosing class:
- ReadFrom
public static interface ReadFrom.Nodes extends Iterable<RedisNodeDescription>
Descriptor of nodes that are available for the current read operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<RedisNodeDescription>
getNodes()
Returns the list of nodes that are applicable for the read operation.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getNodes
List<RedisNodeDescription> getNodes()
Returns the list of nodes that are applicable for the read operation. The list is ordered by latency.- Returns:
- the collection of nodes that are applicable for reading.
-
-