|
|
|
@ -31,7 +31,7 @@ public interface RObjectAsync {
|
|
|
|
|
RFuture<Boolean> touchAsync();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Transfer an object from source Redis instance to destination Redis instance
|
|
|
|
|
* Transfer object from source Redis instance to destination Redis instance
|
|
|
|
|
* in async mode
|
|
|
|
|
*
|
|
|
|
|
* @param host - destination host
|
|
|
|
@ -42,6 +42,18 @@ public interface RObjectAsync {
|
|
|
|
|
*/
|
|
|
|
|
RFuture<Void> migrateAsync(String host, int port, int database, long timeout);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Copy object from source Redis instance to destination Redis instance
|
|
|
|
|
* in async mode
|
|
|
|
|
*
|
|
|
|
|
* @param host - destination host
|
|
|
|
|
* @param port - destination port
|
|
|
|
|
* @param database - destination database
|
|
|
|
|
* @param timeout - maximum idle time in any moment of the communication with the destination instance in milliseconds
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
RFuture<Void> copyAsync(String host, int port, int database, long timeout);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Move object to another database in async mode
|
|
|
|
|
*
|
|
|
|
|