| Package | Description |
|---|---|
| org.redisson.config | |
| org.redisson.connection |
| Modifier and Type | Method and Description |
|---|---|
SentinelServersConfig |
SentinelServersConfig.addSentinelAddress(String... addresses)
Add Redis Sentinel node address in host:port format.
|
SentinelServersConfig |
SentinelServersConfig.setDatabase(int database)
Database index used for Redis connection
Default is
0 |
SentinelServersConfig |
SentinelServersConfig.setMasterName(String masterName)
Master server name used by Redis Sentinel servers and master change monitoring task.
|
SentinelServersConfig |
Config.useSentinelServers()
Init sentinel servers configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SentinelConnectionManager.onSentinelAdded(SentinelServersConfig cfg,
String msg,
MasterSlaveServersConfig c) |
| Constructor and Description |
|---|
SentinelConnectionManager(SentinelServersConfig cfg,
Config config) |
Copyright © 2014–2017 The Redisson Project. All rights reserved.