Class CopyKt
-
- All Implemented Interfaces:
public final class CopyKt
-
-
Method Summary
Modifier and Type Method Description final static Booleancopy(RedisConnection $self, String source, String destination, Integer db, Boolean replace)final static Booleancopy(RedisConnectionPool $self, String source, String destination, Integer db, Boolean replace)final static Unitcopy(RedisPipelineBuilder $self, String source, String destination, Integer db, Boolean replace, Function1<Boolean, Unit> onResult)-
-
Method Detail
-
copy
final static Boolean copy(RedisConnection $self, String source, String destination, Integer db, Boolean replace)
-
copy
final static Boolean copy(RedisConnectionPool $self, String source, String destination, Integer db, Boolean replace)
-
copy
final static Unit copy(RedisPipelineBuilder $self, 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
-
-
-
-