vertx / io.vertx.kotlin.redis.sentinel / io.vertx.redis.sentinel.RedisSentinel / getMasterAddrByNameAwait

getMasterAddrByNameAwait

suspend fun RedisSentinel.getMasterAddrByNameAwait(name: String): JsonArray

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