public ClientNetworkConfig addAddress ( String ... addresses ) { isNotNull ( addresses , "addresses" ) ; for ( String address : addresses ) { isNotNull ( address , "address" ) ; checkHasText ( address . trim ( ) , "member must contain text" ) ; } Collections . addAll ( addressList , addresses ) ; return this ; }
Adds given addresses to candidate address list that client will use to establish initial connection