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
ConstructorsConstructorDescriptionRedisClientEntry(RedisClient client, CommandAsyncExecutor commandExecutor, NodeType type) -
Method Summary
Modifier and TypeMethodDescriptionExecute CLUSTER INFO operation.booleangetAddr()Get Redis node addressgetType()Returns node typeinthashCode()info(Node.InfoSection section) infoAsync(Node.InfoSection section) booleanping()Ping Redis node.booleanPing 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:NodeReturns node type -
getClient
-
getAddr
Description copied from interface:NodeGet Redis node address -
pingAsync
-
pingAsync
Description copied from interface:NodeAsyncPing Redis node with specified timeout. -
ping
public boolean ping()Description copied from interface:NodePing Redis node. Default timeout is 1000 milliseconds -
ping
Description copied from interface:NodePing Redis node with specified timeout. -
hashCode
public int hashCode() -
equals
-
timeAsync
-
time
Description copied from interface:NodeReturns current Redis server time in seconds -
clusterInfoAsync
- Specified by:
clusterInfoAsyncin interfaceNodeAsync
-
clusterInfo
Description copied from interface:ClusterNodeExecute CLUSTER INFO operation.- Specified by:
clusterInfoin interfaceClusterNode- Returns:
- value mapped by field
-
info
-
infoAsync
-
toString
-