@FunctionalInterface public interface TopologyProvider
RedisNodeDescription
instances.Modifier and Type | Method and Description |
---|---|
List<RedisNodeDescription> |
getNodes()
Lookup nodes within the topology.
|
default CompletableFuture<List<RedisNodeDescription>> |
getNodesAsync()
Lookup nodes asynchronously within the topology.
|
List<RedisNodeDescription> getNodes()
RedisNodeDescription
instancesRedisException
- on errors that occurred during the lookupdefault CompletableFuture<List<RedisNodeDescription>> getNodesAsync()
RedisNodeDescription
instancesRedisException
- on errors that occurred during the lookupCopyright © 2018 lettuce.io. All rights reserved.