public interface RObjectAsync
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
deleteAsync()
Delete object in async mode
|
RFuture<Boolean> |
isExistsAsync()
Check object existence in async mode.
|
RFuture<Void> |
migrateAsync(String host,
int port,
int database)
Transfer an object from source Redis instance to destination Redis instance
in async mode
|
RFuture<Boolean> |
moveAsync(int database)
Move object to another database in async mode
|
RFuture<Void> |
renameAsync(String newName)
Rename current object key to
newName
in async mode |
RFuture<Boolean> |
renamenxAsync(String newName)
Rename current object key to
newName
in async mode only if new key is not exists |
RFuture<Void> migrateAsync(String host, int port, int database)
host
- - destination hostport
- - destination portdatabase
- - destination databaseRFuture<Boolean> moveAsync(int database)
database
- - number of Redis databasetrue
if key was moved false
if notRFuture<Boolean> deleteAsync()
true
if object was deleted false
if notRFuture<Void> renameAsync(String newName)
newName
in async modenewName
- - new name of objectRFuture<Boolean> renamenxAsync(String newName)
newName
in async mode only if new key is not existsnewName
- - new name of objecttrue
if object has been renamed successfully and false
otherwiseCopyright © 2014–2016 The Redisson Project. All rights reserved.