public interface Node extends NodeAsync
Modifier and Type | Interface and Description |
---|---|
static class |
Node.InfoSection |
Modifier and Type | Method and 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.
|
long |
time()
Returns current Redis server time in seconds
|
clusterInfoAsync, infoAsync, pingAsync, timeAsync
Map<String,String> info(Node.InfoSection section)
long time()
NodeType getType()
InetSocketAddress getAddr()
boolean ping()
true
if PONG received, false
otherwiseCopyright © 2014–2017 The Redisson Project. All rights reserved.