- 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
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 Details
-
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.
-