vertx / io.vertx.redis / RedisTransaction / migrate

# migrate

`abstract fun migrate(host: String, port: Int, key: String, destdb: Int, timeout: Long, options: MigrateOptions, handler: Handler<AsyncResult<String>>): RedisTransaction`

Atomically transfer a key from a Redis instance to another one.

### Parameters

`host` - Destination host

`port` - Destination port

`key` - Key to migrate

`destdb` - Destination database index

`options` - Migrate options

`handler` - Handler for the result of this call.

Since
Redis 2.6.0 group: generic