Package org.redisson.api
Interface Node
-
- All Superinterfaces:
NodeAsync
- All Known Subinterfaces:
ClusterNode
- All Known Implementing Classes:
RedisClientEntry
@Deprecated public interface Node extends NodeAsync
Deprecated.Redis node interface- Author:
- Nikita Koksharov
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Node.InfoSection
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InetSocketAddress
getAddr()
Deprecated.Get Redis node addressNodeType
getType()
Deprecated.Returns node typeMap<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
-
-
-
Method Detail
-
info
Map<String,String> info(Node.InfoSection section)
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:
true
if "PONG" reply received,false
otherwise
-
ping
boolean ping(long timeout, TimeUnit timeUnit)
Deprecated.Ping Redis node with specified timeout.- Parameters:
timeout
- - ping timeouttimeUnit
- - timeout unit- Returns:
true
if "PONG" reply received,false
otherwise
-
-