Class CopyCommandKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static RedisRequest copyCommand(String source, String destination, Integer db, Boolean replace, Function1<Boolean, Unit> onResult)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • copyCommand

         final static RedisRequest copyCommand(String source, String destination, Integer db, Boolean replace, Function1<Boolean, Unit> onResult)
        Parameters:
        db -
        • optional, the database index to copy the key into (defaults to the current database)

        replace -
        • if true, remove destination before copying

        onResult -
        • true if source was copied, false if not (e.g. destination exists and replace is false)