vertx / io.vertx.redis / RedisTransaction / expire

expire

abstract fun expire(key: String, seconds: Int, handler: Handler<AsyncResult<String>>): RedisTransaction

Set a key's time to live in seconds

Parameters

key - Key string

seconds - Time to live in seconds

handler - Handler for the result of this call.

Since
Redis 1.0.0 group: generic