server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java
public Set<String> getDataCenters() {

    final ODocument dcs = configuration.field(DCS);
    if (dcs == null)
      return Collections.EMPTY_SET;

    final Set<String> result = new HashSet<String>();
    for (String dc : dcs.fieldNames()) {
      result.add(dc);
    }
    return result;
  }
public Set<String> getDataCenters() {

    final ODocument dcs = configuration.field(DCS);
    if (dcs == null)
      return Collections.EMPTY_SET;

    final Set<String> result = new HashSet<String>();
    for (String dc : dcs.fieldNames()) {
      result.add(dc);
    }
    return result;
  }
Returns all the configured data centers' names, if any.