vertx / io.vertx.reactivex.redis / RedisClient / restore

restore

open fun restore(key: String, millis: Long, serialized: String, handler: Handler<AsyncResult<String>>): RedisClient

Create a key using the provided serialized value, previously obtained using DUMP.

Parameters

key - Key string

millis - Expiry time in milliseconds to set on the key

serialized - Serialized form of the key value as obtained using DUMP

handler - Handler for the result of this call.

Return