private static Locator startLocator(int port, File logFile, HostAddress bindAddress,
      java.util.Properties dsProperties, boolean peerLocator, boolean serverLocator,
      String hostnameForClients) throws IOException {
    return InternalLocator.startLocator(port, logFile, null, null, bindAddress, true, dsProperties,
        hostnameForClients);
  }
all Locator methods that start locators should use this method to start the locator and its
distributed system
geode-core/src/main/java/org/apache/geode/distributed/Locator.java