server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java
public List<String> getDataCenterServers(final String dataCenter) {

    final ODocument dc = getDataCenterConfiguration(dataCenter);

    final List<String> servers = dc.field(SERVERS);
    if (servers == null || servers.isEmpty())
      throw new OConfigurationException(
          "Data center '" + dataCenter + "' does not contain any server in distributed database configuration");

    return new ArrayList<String>(servers);
  }
public List<String> getDataCenterServers(final String dataCenter) {

    final ODocument dc = getDataCenterConfiguration(dataCenter);

    final List<String> servers = dc.field(SERVERS);
    if (servers == null || servers.isEmpty())
      throw new OConfigurationException(
          "Data center '" + dataCenter + "' does not contain any server in distributed database configuration");

    return new ArrayList<String>(servers);
  }
Returns the list of servers in a data center.

@param dataCenter Data center name

@throws OConfigurationException if the list of servers is not found in data center configuration