Package org.redisson.connection
Class RedisClientEntry
java.lang.Object
org.redisson.connection.RedisClientEntry
- All Implemented Interfaces:
ClusterNode
,Node
,NodeAsync
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.redisson.api.Node
Node.InfoSection
-
Constructor Summary
ConstructorDescriptionRedisClientEntry
(RedisClient client, CommandAsyncExecutor commandExecutor, NodeType type) -
Method Summary
Modifier and TypeMethodDescriptionExecute CLUSTER INFO operation.boolean
getAddr()
Get Redis node addressgetType()
Returns node typeint
hashCode()
info
(Node.InfoSection section) infoAsync
(Node.InfoSection section) boolean
ping()
Ping Redis node.boolean
Ping Redis node with specified timeout.Ping Redis node with specified timeout.time()
Returns current Redis server time in secondstoString()
-
Constructor Details
-
RedisClientEntry
-
-
Method Details
-
getType
Description copied from interface:Node
Returns node type -
getClient
-
getAddr
Description copied from interface:Node
Get Redis node address -
pingAsync
-
pingAsync
Description copied from interface:NodeAsync
Ping Redis node with specified timeout. -
ping
public boolean ping()Description copied from interface:Node
Ping Redis node. Default timeout is 1000 milliseconds -
ping
Description copied from interface:Node
Ping Redis node with specified timeout. -
hashCode
public int hashCode() -
equals
-
timeAsync
-
time
Description copied from interface:Node
Returns current Redis server time in seconds -
clusterInfoAsync
- Specified by:
clusterInfoAsync
in interfaceNodeAsync
-
clusterInfo
Description copied from interface:ClusterNode
Execute CLUSTER INFO operation.- Specified by:
clusterInfo
in interfaceClusterNode
- Returns:
- value mapped by field
-
info
-
infoAsync
-
toString
-