public Set < String > getAllConfiguredServers ( ) { final Set < String > servers = new HashSet < String > ( ) ; for ( String p : getClusterNames ( ) ) { final List < String > serverList = getClusterConfiguration ( p ) . field ( SERVERS ) ; if ( serverList != null ) { for ( String s : serverList ) if ( ! s . equals ( NEW_NODE_TAG ) ) servers . add ( s ) ; } } return servers ; }
Returns the complete list of servers found in configuration .