InternalLocator getInternalLocator() {
    return locator;
  }
Gets a reference to the {@code Locator} as an {@code InternalLocator}. For internal use only.

@return a reference to the Locator as an InternalLocator.
geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java