Package org.redisson.redisnode
Class RedissonBaseNodes
java.lang.Object
org.redisson.redisnode.RedissonBaseNodes
- All Implemented Interfaces:
BaseRedisNodes
- Direct Known Subclasses:
RedissonClusterNodes
,RedissonMasterSlaveNodes
,RedissonSingleNode
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionRedissonBaseNodes
(ConnectionManager connectionManager, CommandAsyncExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected RedisNode
getNodes()
protected <T extends RedisNode>
Collection<T> boolean
pingAll()
Ping all Redis nodes.boolean
Ping all Redis nodes with specified timeout per node
-
Constructor Details
-
RedissonBaseNodes
-
-
Method Details
-
getNodes
-
getNode
-
getNodes
-
pingAll
Description copied from interface:BaseRedisNodes
Ping all Redis nodes with specified timeout per node- Specified by:
pingAll
in interfaceBaseRedisNodes
- Returns:
true
if all nodes replied "PONG",false
in other case.
-
pingAll
public boolean pingAll()Description copied from interface:BaseRedisNodes
Ping all Redis nodes. Default timeout per Redis node is 1000 milliseconds- Specified by:
pingAll
in interfaceBaseRedisNodes
- Returns:
true
if all nodes replied "PONG",false
in other case.
-