@Deprecated public interface Node extends NodeAsync
| Modifier and Type | Interface and Description |
|---|---|
static class |
Node.InfoSection
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getAddr()
Deprecated.
Get Redis node address
|
NodeType |
getType()
Deprecated.
Returns node type
|
Map<String,String> |
info(Node.InfoSection section)
Deprecated.
|
boolean |
ping()
Deprecated.
Ping Redis node.
|
boolean |
ping(long timeout,
TimeUnit timeUnit)
Deprecated.
Ping Redis node with specified timeout.
|
Time |
time()
Deprecated.
Returns current Redis server time in seconds
|
Map<String,String> info(Node.InfoSection section)
Time time()
NodeType getType()
InetSocketAddress getAddr()
boolean ping()
true if "PONG" reply received, false otherwiseboolean ping(long timeout,
TimeUnit timeUnit)
timeout - - ping timeouttimeUnit - - timeout unittrue if "PONG" reply received, false otherwiseCopyright © 2014–2020 Redisson. All rights reserved.