public interface RObjectAsync
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Boolean> |
deleteAsync()
Delete object in async mode
|
io.netty.util.concurrent.Future<Boolean> |
isExistsAsync()
Check object existence in async mode.
|
io.netty.util.concurrent.Future<Void> |
migrateAsync(String host,
int port,
int database)
Transfer an object from source Redis instance to destination Redis instance
in async mode
|
io.netty.util.concurrent.Future<Boolean> |
moveAsync(int database)
Move object to another database in async mode
|
io.netty.util.concurrent.Future<Void> |
renameAsync(String newName)
Rename current object key to
newName
in async mode |
io.netty.util.concurrent.Future<Boolean> |
renamenxAsync(String newName)
Rename current object key to
newName
in async mode only if new key is not exists |
io.netty.util.concurrent.Future<Void> migrateAsync(String host, int port, int database)
host
- - destination hostport
- - destination portdatabase
- - destination databaseio.netty.util.concurrent.Future<Boolean> moveAsync(int database)
database
- true
if key was moved false
if notio.netty.util.concurrent.Future<Boolean> deleteAsync()
true
if object was deleted false
if notio.netty.util.concurrent.Future<Void> renameAsync(String newName)
newName
in async modenewName
- io.netty.util.concurrent.Future<Boolean> renamenxAsync(String newName)
newName
in async mode only if new key is not existsnewName
- io.netty.util.concurrent.Future<Boolean> isExistsAsync()
true
if object exists and false
otherwiseCopyright © 2014–2016. All rights reserved.