code: public static HClientFactory createFactory(CassandraHostConfigurator chc) {
        try {
          return chc.getClientFactoryClass().newInstance();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
docs: Create a {@link HClientFactory} based on the setting in <code>chc</code>.
  
  @param chc a {@link CassandraHostConfigurator} instance
  @return an implementation of {@link HClientFactory}
  
  @throws RuntimeException if it couldn't instantiate a factory class
  given by CassandraHostConfigurator parameters