@Deprecated public interface RedisSentinel
| Modifier and Type | Method and Description | 
|---|---|
RedisSentinel | 
ckquorum(String name,
        Handler<AsyncResult<String>> handler)
Deprecated.  
Check if the current Sentinel configuration is able to reach the quorum needed to failover a master,
 and the majority needed to authorize the failover. 
 | 
void | 
close(Handler<AsyncResult<Void>> handler)
Deprecated.  
Close the client - when it is fully closed the handler will be called. 
 | 
static RedisSentinel | 
create(Vertx vertx)
Deprecated.  
  | 
static RedisSentinel | 
create(Vertx vertx,
      JsonObject config)
Deprecated.  
  | 
static RedisSentinel | 
create(Vertx vertx,
      RedisOptions options)
Deprecated.  
  | 
RedisSentinel | 
failover(String name,
        Handler<AsyncResult<String>> handler)
Deprecated.  
Force a failover as if the master was not reachable, and without asking for agreement to other Sentinels
 (however a new version of the configuration will be published so that the other Sentinels
 will update their configurations) 
 | 
RedisSentinel | 
flushConfig(Handler<AsyncResult<Void>> handler)
Deprecated.  
Force Sentinel to rewrite its configuration on disk, including the current Sentinel state. 
 | 
RedisSentinel | 
getMasterAddrByName(String name,
                   Handler<AsyncResult<JsonArray>> handler)
Deprecated.  
Return the ip and port number of the master with that name. 
 | 
RedisSentinel | 
master(String name,
      Handler<AsyncResult<JsonArray>> handler)
Deprecated.  
Show the state and info of the specified master 
 | 
RedisSentinel | 
masters(Handler<AsyncResult<JsonArray>> handler)
Deprecated.  
Show a list of monitored masters and their state 
 | 
RedisSentinel | 
reset(String pattern,
     Handler<AsyncResult<Void>> handler)
Deprecated.  
Reset all the masters with matching name. 
 | 
RedisSentinel | 
sentinels(String name,
         Handler<AsyncResult<JsonArray>> handler)
Deprecated.  
Show a list of sentinel instances for this master, and their state 
 | 
RedisSentinel | 
slaves(String name,
      Handler<AsyncResult<JsonArray>> handler)
Deprecated.  
Show a list of slaves for this master, and their state 
 | 
static RedisSentinel create(Vertx vertx)
static RedisSentinel create(Vertx vertx, JsonObject config)
static RedisSentinel create(Vertx vertx, RedisOptions options)
void close(Handler<AsyncResult<Void>> handler)
handler - RedisSentinel masters(Handler<AsyncResult<JsonArray>> handler)
handler - Handler for the result of this callRedisSentinel master(String name, Handler<AsyncResult<JsonArray>> handler)
name - master namehandler - Handler for the result of this callRedisSentinel slaves(String name, Handler<AsyncResult<JsonArray>> handler)
name - master namehandler - Handler for the result of this callRedisSentinel sentinels(String name, Handler<AsyncResult<JsonArray>> handler)
name - master namehandler - Handler for the result of this callRedisSentinel getMasterAddrByName(String name, Handler<AsyncResult<JsonArray>> handler)
name - master namehandler - Handler for the result of this callRedisSentinel reset(String pattern, Handler<AsyncResult<Void>> handler)
pattern - pattern Stringhandler - Handler for the result of this callRedisSentinel failover(String name, Handler<AsyncResult<String>> handler)
name - master namehandler - Handler for the result of this callRedisSentinel ckquorum(String name, Handler<AsyncResult<String>> handler)
name - master namehandler - Handler for the result of this callRedisSentinel flushConfig(Handler<AsyncResult<Void>> handler)
handler - Handler for the result of this callCopyright © 2020 Eclipse. All rights reserved.