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 .