vertx / io.vertx.redis / RedisTransaction / setex

setex

abstract fun setex(key: String, seconds: Long, value: String, handler: Handler<AsyncResult<String>>): RedisTransaction

Set the value and expiration of a key

Parameters

key - Key string

seconds - Number of seconds until the key expires

value - New value for key

handler - Handler for the result of this call.

Since
Redis 2.0.0 group: string