Package | Description |
---|---|
io.vertx.reactivex.redis.sentinel |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RedisSentinel> |
RedisSentinel.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
RedisSentinel |
RedisSentinel.ckquorum(String name,
Handler<AsyncResult<String>> handler)
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.
|
static RedisSentinel |
RedisSentinel.create(Vertx vertx) |
static RedisSentinel |
RedisSentinel.create(Vertx vertx,
JsonObject config) |
RedisSentinel |
RedisSentinel.failover(String name,
Handler<AsyncResult<String>> handler)
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 |
RedisSentinel.flushConfig(Handler<AsyncResult<Void>> handler)
Force Sentinel to rewrite its configuration on disk, including the current Sentinel state.
|
RedisSentinel |
RedisSentinel.getMasterAddrByName(String name,
Handler<AsyncResult<JsonArray>> handler)
Return the ip and port number of the master with that name.
|
RedisSentinel |
RedisSentinel.master(String name,
Handler<AsyncResult<JsonArray>> handler)
Show the state and info of the specified master
|
RedisSentinel |
RedisSentinel.masters(Handler<AsyncResult<JsonArray>> handler)
Show a list of monitored masters and their state
|
static RedisSentinel |
RedisSentinel.newInstance(RedisSentinel arg) |
RedisSentinel |
RedisSentinel.reset(String pattern,
Handler<AsyncResult<Void>> handler)
Reset all the masters with matching name.
|
RedisSentinel |
RedisSentinel.sentinels(String name,
Handler<AsyncResult<JsonArray>> handler)
Show a list of sentinel instances for this master, and their state
|
RedisSentinel |
RedisSentinel.slaves(String name,
Handler<AsyncResult<JsonArray>> handler)
Show a list of slaves for this master, and their state
|
Copyright © 2023 Eclipse. All rights reserved.