| Package | Description |
|---|---|
| org.redisson.cluster | |
| org.redisson.config |
| Constructor and Description |
|---|
ClusterConnectionManager(ClusterServersConfig cfg,
Config config,
UUID id) |
| Modifier and Type | Method and Description |
|---|---|
ClusterServersConfig |
ClusterServersConfig.addNodeAddress(String... addresses)
Add Redis cluster node address.
|
ClusterServersConfig |
ClusterServersConfig.setCheckSlotsCoverage(boolean checkSlotsCoverage)
Enables cluster slots check during Redisson startup.
|
ClusterServersConfig |
ClusterServersConfig.setNatMap(Map<String,String> natMap)
Defines NAT mapping.
|
ClusterServersConfig |
ClusterServersConfig.setScanInterval(int scanInterval)
Redis cluster scan interval in milliseconds
Default is
5000 |
ClusterServersConfig |
Config.useClusterServers()
Init cluster servers configuration
|
Copyright © 2014–2019 Redisson. All rights reserved.