public static interface RedisConfiguration.SentinelConfiguration extends RedisConfiguration.DatabaseConfiguration
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getMasterName()
Get the Sentinel master node.
|
Set<HostPortPair> |
getSentinels()
Returns an
Collections.unmodifiableSet(Set) of Sentinels. |
getDatabaseString getMasterName()
Set<HostPortPair> getSentinels()
Collections.unmodifiableSet(Set) of Sentinels.Set of sentinels. Never null.Copyright © 2021. All rights reserved.