public ClientCacheFactory addPoolLocator(String host, int port) {
    getPoolFactory().addLocator(host, port);
    return this;
  }
Add a locator, given its host and port, to this factory. The locator must be a server locator
and will be used to discover other running cache servers and locators. Note that if the host is
unknown at the time of this call the locator will still be added. When the pool is used for an
operation if the host is still unknown an exception will be thrown.

@param host the host name or ip address that the locator is listening on.
@param port the port that the locator is listening on
@return a reference to <code>this</code>
@throws IllegalArgumentException if port is outside the valid range of [0..65535] inclusive.
@throws IllegalStateException if a server has already been {@link #addPoolServer added} to this
        factory.
geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java