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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
pingAll()
Ping all Redis nodes.boolean
pingAll(long timeout, TimeUnit timeUnit)
Ping all Redis nodes with specified timeout per node
-
-
-
Method Detail
-
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
boolean pingAll(long timeout, TimeUnit timeUnit)
Ping all Redis nodes with specified timeout per node- Returns:
true
if all nodes replied "PONG",false
in other case.
-
-