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

    Modifier and Type
    Method
    Description
    boolean
    Ping all Redis nodes.
    boolean
    pingAll(long timeout, TimeUnit timeUnit)
    Ping all Redis nodes with specified timeout per node
  • 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

      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.