NodeAsync
ClusterNode
RedisClientEntry
public interface Node extends NodeAsync
Modifier and Type | Interface | Description |
---|---|---|
static class |
Node.InfoSection |
Modifier and Type | Method | Description |
---|---|---|
InetSocketAddress |
getAddr() |
Get Redis node address
|
NodeType |
getType() |
Returns node type
|
Map<String,String> |
info(Node.InfoSection section) |
|
boolean |
ping() |
Ping Redis node by PING command.
|
Time |
time() |
Returns current Redis server time in seconds
|
clusterInfoAsync, infoAsync, pingAsync, timeAsync
Map<String,String> info(Node.InfoSection section)
Time time()
NodeType getType()
InetSocketAddress getAddr()
boolean ping()
true
if PONG received, false
otherwiseCopyright © 2014–2018 The Redisson Project. All rights reserved.