Jamm\Memory\RedisServer::MIGRATE PHP Method

MIGRATE() public method

On success the key is deleted from the original instance and is guaranteed to exist in the target instance. The command is atomic and blocks the two instances for the time required to transfer the key, at any given time the key will appear to exist in a given instance or in the other instance, unless a timeout error occurs.
public MIGRATE ( string $host, string $port, string $key, integer $destination_db, integer $timeout ) : boolean
$host string
$port string
$key string
$destination_db integer
$timeout integer
return boolean
    public function MIGRATE($host, $port, $key, $destination_db, $timeout)
    {
        return $this->_send(array('MIGRATE', $host, $port, $key, $destination_db, $timeout));
    }