vertx / io.vertx.rxjava.redis.sentinel / RedisSentinel / getMasterAddrByName

getMasterAddrByName

open fun getMasterAddrByName(name: String, handler: Handler<AsyncResult<JsonArray>>): RedisSentinel

Return the ip and port number of the master with that name. If a failover is in progress or terminated successfully for this master it returns the address and port of the promoted slave

Parameters

name - master name

handler - Handler for the result of this call

Return