public interface RedisSentinelAsync extends RedisNodeAsync
Modifier and Type | Method and Description |
---|---|
RFuture<Void> |
failoverAsync(String masterName)
Starts failover process for defined Redis master
|
RFuture<InetSocketAddress> |
getMasterAddrAsync(String masterName)
Returns network address of defined Redis master.
|
RFuture<Map<String,String>> |
getMasterAsync(String masterName)
Returns map containing info regarding defined Redis master.
|
RFuture<List<Map<String,String>>> |
getMastersAsync()
Returns list of map containing info regarding Redis Master server
monitored by current Redis Sentinel server.
|
RFuture<List<Map<String,String>>> |
getSentinelsAsync(String masterName)
Returns list of map containing info regarding Redis Sentinel server
monitoring defined master.
|
RFuture<List<Map<String,String>>> |
getSlavesAsync(String masterName)
Returns list of map containing info regarding Redis Slave server
of defined master.
|
getConfigAsync, infoAsync, pingAsync, pingAsync, setConfigAsync, timeAsync
RFuture<InetSocketAddress> getMasterAddrAsync(String masterName)
masterName
- - name of masterRFuture<List<Map<String,String>>> getSentinelsAsync(String masterName)
masterName
- - name of masterRFuture<List<Map<String,String>>> getMastersAsync()
RFuture<List<Map<String,String>>> getSlavesAsync(String masterName)
masterName
- - name of masterRFuture<Map<String,String>> getMasterAsync(String masterName)
masterName
- - name of masterCopyright © 2014–2020 Redisson. All rights reserved.