protected List parseLocators() {

    // assumes host[port] format, delimited by ","
    List locatorIds = new ArrayList();
    if (isMcastEnabled()) {
      String mcastId = getMcastAddress() + "["
          + getMcastPort() + "]";
      locatorIds.add(DistributionLocatorId.unmarshal(mcastId));
    }
    StringTokenizer st = new StringTokenizer(getLocators(), ",");
    while (st.hasMoreTokens()) {
      locatorIds.add(DistributionLocatorId.unmarshal(st.nextToken()));
    }

    if (logger.isDebugEnabled()) {
      StringBuilder sb = new StringBuilder("Locator set is: ");
      for (final Object locatorId : locatorIds) {
        sb.append(locatorId);
        sb.append(" ");
      }
      logger.debug(sb);
    }

    return locatorIds;
  }
Returns List of Locators including Locators or Multicast.

@return list of locators or multicast values
geode-core/src/main/java/org/apache/geode/admin/internal/AdminDistributedSystemImpl.java