Class CopyArgs

    • Constructor Detail

      • CopyArgs

        public CopyArgs()
    • Method Detail

      • destinationDb

        public CopyArgs destinationDb​(long destinationDb)
        Specify an alternative logical database index for the destination key.
        Parameters:
        destinationDb - logical database index to apply for DB.
        Returns:
        the current CopyArgs.
      • replace

        public CopyArgs replace​(boolean replace)
        Hint redis to remove the destination key before copying the value to it.
        Parameters:
        replace - remove destination key before copying the value REPLACE.
        Returns:
        this.