spring-geode/src/main/java/org/springframework/geode/core/env/support/CloudCacheService.java
/**
		 * Factory method used to construct a new {@link Locator} running on the configured {@link String host}
		 * and listening on the configured {@link Integer port}.
		 *
		 * @param host {@link String} containing the name of the host on which the {@link Locator} is running.
		 * @param port {@link Integer} containing the port number on which the {@link Locator} is listening.
		 * @throws IllegalArgumentException if {@link String host} is {@literal null} or empty,
		 * or the {@link Integer port} is less than {@literal 0}.
		 * @return a new {@link Locator} on the configured {@link String host} and {@link Integer port}.
		 */
Factory method used to construct a new  Locator running on the configured  String host
and listening on the configured  Integer port.

@param host  String containing the name of the host on which the  Locator is running.
@param port  Integer containing the port number on which the  Locator is listening.
@throws IllegalArgumentException if  String host is  null or empty,
or the  Integer port is less than  0.
@return a new  Locator on the configured  String host and  Integer port.
Factory method used to construct a new Locator running on the configured String host and listening on the configured Integer port . @param host String containing the name of the host on which the Locator is running . @param port Integer containing the port number on which the Locator is listening . @throws IllegalArgumentException if String host is null or empty or the Integer port is less than 0 . @return a new Locator on the configured String host and Integer port .
public static Locator newLocator(String host, int port) {
			Assert.hasText(host, String.format("Host [%s] is required", host));
			Assert.isTrue(port > -1, String.format("Port [%d] must be greater than equal to 0", port));
			return new Locator(host, port);
		}
public static Locator newLocator ( String host , int port ) { Assert . hasText ( host , String . format ( "Host [%s] is required" , host ) ) ; Assert . isTrue ( port > - 1 , String . format ( "Port [%d] must be greater than equal to 0" , port ) ) ; return new Locator ( host , port ) ; }
Factory method used to construct a new {@link Locator} running on the configured {@link String host}
 and listening on the configured {@link Integer port}.
Factory method used to construct a new { @link Locator } running on the configured { @link String host } and listening on the configured { @link Integer port } .