public static @Nullable Collection<String> getLocatorStrings() {
    try {
      final InternalLocator locator = getLocator();
      if (null != locator) {
        return singleton(
            new DistributionLocatorId(LocalHostUtil.getLocalHost(), locator).marshal());
      }
    } catch (UnknownHostException ignored) {
    }
    return null;
  }
Returns collection of locator strings representing every locator instance hosted by this
member.

@see #getLocator()
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalLocator.java