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 .