@Deprecated
  public static List<Locator> getLocators() {
    Locator result = getLocator();
    if (result == null) {
      return Collections.emptyList();
    } else {
      return Collections.singletonList(result);
    }
  }
Returns an unmodifiable <code>List</code> of all of the <code>Locator</code>s that are hosted
by this VM.

@return an unmodifiable <code>List</code> of all of the <code>Locator</code>s that are hosted
        by this VM
@deprecated as of 7.0 use {@link #getLocator} instead
geode-core/src/main/java/org/apache/geode/distributed/Locator.java