masterreplica package with version 6.@Deprecated public class StaticMasterSlaveTopologyProvider extends Object implements TopologyProvider
node. Node roles may change during runtime but the configuration must remain the same. This
TopologyProvider does not auto-discover nodes.| Constructor and Description |
|---|
StaticMasterSlaveTopologyProvider(RedisClient redisClient,
Iterable<RedisURI> redisURIs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<RedisNodeDescription> |
getNodes()
Deprecated.
Lookup nodes within the topology.
|
CompletableFuture<List<RedisNodeDescription>> |
getNodesAsync()
Deprecated.
Lookup nodes asynchronously within the topology.
|
public StaticMasterSlaveTopologyProvider(RedisClient redisClient, Iterable<RedisURI> redisURIs)
public List<RedisNodeDescription> getNodes()
TopologyProvidergetNodes in interface TopologyProviderRedisNodeDescription instances.public CompletableFuture<List<RedisNodeDescription>> getNodesAsync()
TopologyProvidergetNodesAsync in interface TopologyProviderRedisNodeDescription instances.Copyright © 2020 lettuce.io. All rights reserved.