Package org.redisson.api
Interface Node
- All Superinterfaces:
NodeAsync
- All Known Subinterfaces:
ClusterNode
- All Known Implementing Classes:
RedisClientEntry
Deprecated.
Redis node interface
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAddr()Deprecated.Get Redis node addressgetType()Deprecated.Returns node typeinfo(Node.InfoSection section) Deprecated.booleanping()Deprecated.Ping Redis node.booleanDeprecated.Ping Redis node with specified timeout.time()Deprecated.Returns current Redis server time in seconds
-
Method Details
-
info
Deprecated. -
time
Time time()Deprecated.Returns current Redis server time in seconds- Returns:
- time in seconds
-
getType
NodeType getType()Deprecated.Returns node type- Returns:
- node type
-
getAddr
InetSocketAddress getAddr()Deprecated.Get Redis node address- Returns:
- node address
-
ping
boolean ping()Deprecated.Ping Redis node. Default timeout is 1000 milliseconds- Returns:
trueif "PONG" reply received,falseotherwise
-
ping
Deprecated.Ping Redis node with specified timeout.- Parameters:
timeout- - ping timeouttimeUnit- - timeout unit- Returns:
trueif "PONG" reply received,falseotherwise
-