vertx / io.vertx.redis / RedisTransaction / swapdb

swapdb

abstract fun swapdb(index1: Int, index2: Int, handler: Handler<AsyncResult<String>>): RedisTransaction

Swaps two Redis databases

Parameters

index1 - index of first database to swap

index2 - index of second database to swap

handler - Handler for the result of this call.

Since
Redis 4.0.0 group: connection