public List<ServerLocation> getLocators() {
    return controllers;
  }
Returns an array list of type ServerLocation containing controllers.

@return list of controllers
geode-core/src/main/java/org/apache/geode/cache/client/internal/locator/LocatorListResponse.java