vertx / io.vertx.rxjava.redis / RedisClient / rxSetnx

rxSetnx

open fun rxSetnx(key: String, value: String): Single<Long>

Set the value of a key, only if the key does not exist

Parameters

key - Key of which value to set

value - New value for the key

Return