Class CopyCommandKt
-
- All Implemented Interfaces:
public final class CopyCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestcopyCommand(String source, String destination, Integer db, Boolean replace, Function1<Boolean, Unit> onResult)-
-
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)
-
-
-
-