public interface Node
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddr()
Get Redis node address
|
NodeType |
getType()
Returns node type
|
boolean |
ping()
Ping Redis node by PING command.
|
long |
time()
Returns current Redis server time in seconds
|
long time()
NodeType getType()
InetSocketAddress getAddr()
boolean ping()
true
if PONG received, false
otherwiseCopyright © 2014–2016 The Redisson Project. All rights reserved.