private ODocument getDataCenterConfiguration(final String dataCenter) {
    final ODocument dcs = configuration.field(DCS);
    if (dcs != null)
      return dcs.field(dataCenter);
    throw new OConfigurationException("Cannot find the data center '" + dataCenter + "' in distributed database configuration");

  }
private ODocument getDataCenterConfiguration(final String dataCenter) {
    final ODocument dcs = configuration.field(DCS);
    if (dcs != null)
      return dcs.field(dataCenter);
    throw new OConfigurationException("Cannot find the data center '" + dataCenter + "' in distributed database configuration");

  }
private ODocument getDataCenterConfiguration ( final String dataCenter ) { final ODocument dcs = configuration . field ( DCS ) ; if ( dcs != null ) return dcs . field ( dataCenter ) ; throw new OConfigurationException ( "Cannot find the data center '" + dataCenter + "' in distributed database configuration" ) ; }
Gets the document representing the dc configuration.

@param dataCenter Data center name

@return Always a ODocument

@throws OConfigurationException if the data center configuration is not found
Gets the document representing the dc configuration .