Package org.redisson.api.redisnode
Interface BaseRedisNodes
- All Known Subinterfaces:
RedisCluster
,RedisMasterSlave
,RedisSentinelMasterSlave
,RedisSingle
- All Known Implementing Classes:
RedissonBaseNodes
,RedissonClusterNodes
,RedissonMasterSlaveNodes
,RedissonSentinelMasterSlaveNodes
,RedissonSingleNode
public interface BaseRedisNodes
Base Redis nodes API interface
- Author:
- Nikita Koksharov
-
Method Summary
-
Method Details
-
pingAll
boolean pingAll()Ping all Redis nodes. Default timeout per Redis node is 1000 milliseconds- Returns:
true
if all nodes replied "PONG",false
in other case.
-
pingAll
Ping all Redis nodes with specified timeout per node- Returns:
true
if all nodes replied "PONG",false
in other case.
-