code: public static JedisCluster newJedisCluster(JedisPoolConfig poolConfig, String hostsAndPorts,
              String password, int timeoutMs) {
          return newJedisCluster(poolConfig, hostsAndPorts, password, timeoutMs, 3);
      }
docs: Create a new {@link JedisCluster} with specified pool configs.
  
  @param poolConfig
  @param hostsAndPorts
  format {@code host1:port1,host2:port2,...}, default Redis port is used if not
  specified
  @param password
  @param timeoutMs
  @return