Class MigrateParams


  • public class MigrateParams
    extends java.lang.Object
    Parameters for MIGRATE command.
    • Constructor Summary

      Constructors 
      Constructor Description
      MigrateParams()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MigrateParams auth​(java.lang.String password)
      Set authentication password.
      MigrateParams auth2​(java.lang.String username, java.lang.String password)
      Set authentication with username and password.
      MigrateParams copy()
      Copy the key instead of moving it.
      java.lang.String[] getParams()
      Get the parameters as a string array.
      MigrateParams replace()
      Replace existing key at destination.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MigrateParams

        public MigrateParams()
    • Method Detail

      • copy

        public MigrateParams copy()
        Copy the key instead of moving it.
      • replace

        public MigrateParams replace()
        Replace existing key at destination.
      • auth

        public MigrateParams auth​(java.lang.String password)
        Set authentication password.
      • auth2

        public MigrateParams auth2​(java.lang.String username,
                                   java.lang.String password)
        Set authentication with username and password.
      • getParams

        public java.lang.String[] getParams()
        Get the parameters as a string array.