public class RedissonBaseNodes extends Object implements BaseRedisNodes
Constructor and Description |
---|
RedissonBaseNodes(ConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
protected RedisNode |
getNode(String address,
NodeType nodeType) |
protected List<RedisNode> |
getNodes() |
protected <T extends RedisNode> |
getNodes(NodeType type) |
boolean |
pingAll()
Ping all Redis nodes.
|
boolean |
pingAll(long timeout,
TimeUnit timeUnit)
Ping all Redis nodes with specified timeout per node
|
public RedissonBaseNodes(ConnectionManager connectionManager)
protected <T extends RedisNode> Collection<T> getNodes(NodeType type)
public boolean pingAll(long timeout, TimeUnit timeUnit)
BaseRedisNodes
pingAll
in interface BaseRedisNodes
true
if all nodes replied "PONG", false
in other case.public boolean pingAll()
BaseRedisNodes
pingAll
in interface BaseRedisNodes
true
if all nodes replied "PONG", false
in other case.Copyright © 2014–2021 Redisson. All rights reserved.