ClientNetworkConfig function ( int arg0 ) { if ( arg0 < 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . connectionAttemptLimit = arg0 ; return this ; }
while client is trying to connect initially to one of the members in the clientnetworkconfig #addresslist , all might be not available . instead of giving up , throwing exception and stopping client , it will attempt to retry as much as clientnetworkconfig #connectionattemptlimit times . concode_field_sep boolean redoOperation concode_elem_sep SocketInterceptorConfig socketInterceptorConfig concode_elem_sep SSLConfig sslConfig concode_elem_sep int connectionAttemptLimit concode_elem_sep int connectionAttemptPeriod concode_elem_sep int CONNECTION_ATTEMPT_PERIOD concode_elem_sep SocketOptions socketOptions concode_elem_sep int connectionTimeout concode_elem_sep ClientAwsConfig clientAwsConfig concode_elem_sep List<String> addressList concode_elem_sep int CONNECTION_TIMEOUT concode_elem_sep boolean smartRouting concode_field_sep ClientNetworkConfig setAddresses concode_elem_sep List<String> getAddresses concode_elem_sep ClientNetworkConfig setSocketInterceptorConfig concode_elem_sep ClientNetworkConfig addAddress concode_elem_sep ClientNetworkConfig setRedoOperation concode_elem_sep ClientNetworkConfig setConnectionTimeout concode_elem_sep ClientNetworkConfig setSocketOptions concode_elem_sep ClientNetworkConfig setSmartRouting concode_elem_sep ClientNetworkConfig setAwsConfig concode_elem_sep ClientAwsConfig getAwsConfig concode_elem_sep SSLConfig getSSLConfig concode_elem_sep ClientNetworkConfig setSSLConfig concode_elem_sep ClientNetworkConfig setConnectionAttemptPeriod concode_elem_sep boolean isSmartRouting concode_elem_sep boolean isRedoOperation concode_elem_sep int getConnectionAttemptPeriod concode_elem_sep int getConnectionAttemptLimit concode_elem_sep SocketOptions getSocketOptions concode_elem_sep SocketInterceptorConfig getSocketInterceptorConfig concode_elem_sep int getConnectionTimeout