log.debug("Retry service fired... nothing to do.");
return;
}
Iterator<CassandraHost> iter = downedHostQueue.iterator();
while( iter.hasNext() ) {
CassandraHost cassandraHost = iter.next();
if( cassandraHost == null ) {
continue;
}
boolean reconnected = verifyConnection(cassandraHost);
log.info("Downed Host retry status {} with host: {}", reconnected, cassandraHost.getName());
if ( reconnected ) {
connectionManager.addCassandraHost(cassandraHost);
//we can't call iter.remove() based on return value of connectionManager.addCassandraHost, since
//that returns false if an error occurs, or if the host already exists
if(connectionManager.getHosts().contains(cassandraHost)) {