code: public List<RedisClient> getAliveClients(Object key) {
          List<RedisClient> aliveClients = new ArrayList<RedisClient>();
          for (RedisClient redisClient : clientList) {
              if (redisClient.isAlive()) {
                  aliveClients.add(redisClient);
              }
          }
          return aliveClients;
      }
docs: 获取所有标记为可用的redis连接列表
  
  @param key
  
  @return