public interface RedisNodeAsync
Modifier and Type | Method and Description |
---|---|
RFuture<Map<String,String>> |
getConfigAsync(String parameter)
Get value of Redis configuration parameter.
|
RFuture<Map<String,String>> |
infoAsync(RedisNode.InfoSection section)
Returns information about Redis node.
|
RFuture<Boolean> |
pingAsync()
Ping Redis node.
|
RFuture<Boolean> |
pingAsync(long timeout,
TimeUnit timeUnit)
Ping Redis node with specified timeout.
|
RFuture<Void> |
setConfigAsync(String parameter,
String value)
Set value of Redis configuration parameter.
|
RFuture<Time> |
timeAsync()
Returns current Redis server time in seconds
|
RFuture<Time> timeAsync()
RFuture<Boolean> pingAsync()
true
if "PONG" reply received, false
otherwiseRFuture<Boolean> pingAsync(long timeout, TimeUnit timeUnit)
timeout
- - ping timeouttimeUnit
- - timeout unittrue
if "PONG" reply received, false
otherwiseRFuture<Map<String,String>> infoAsync(RedisNode.InfoSection section)
section
- - section of informationRFuture<Map<String,String>> getConfigAsync(String parameter)
parameter
- - name of parameterCopyright © 2014–2020 Redisson. All rights reserved.