public interface RObjectReactive
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Boolean> |
delete()
Delete object in mode
|
String |
getName() |
org.reactivestreams.Publisher<Boolean> |
isExists()
Check object existence
|
org.reactivestreams.Publisher<Void> |
migrate(String host,
int port,
int database)
Transfer a object from a source Redis instance to a destination Redis instance
in mode
|
org.reactivestreams.Publisher<Boolean> |
move(int database)
Move object to another database in mode
|
org.reactivestreams.Publisher<Void> |
rename(String newName)
Rename current object key to
newName
in mode |
org.reactivestreams.Publisher<Boolean> |
renamenx(String newName)
Rename current object key to
newName
in mode only if new key is not exists |
String getName()
org.reactivestreams.Publisher<Void> migrate(String host, int port, int database)
host
- - destination hostport
- - destination portdatabase
- - destination databaseorg.reactivestreams.Publisher<Boolean> move(int database)
database
- true
if key was moved false
if notorg.reactivestreams.Publisher<Boolean> delete()
true
if object was deleted false
if notorg.reactivestreams.Publisher<Void> rename(String newName)
newName
in modenewName
- org.reactivestreams.Publisher<Boolean> renamenx(String newName)
newName
in mode only if new key is not existsnewName
- org.reactivestreams.Publisher<Boolean> isExists()
true
if object exists and false
otherwiseCopyright © 2014–2016. All rights reserved.