public AddressSelector reset ( Address leader , Collection < Address > servers ) { if ( changed ( leader , servers ) ) { this . leader = leader ; this . servers = servers ; this . selections = strategy . selectConnections ( leader , new ArrayList <> ( servers ) ) ; this . selectionsIterator = null ; } return this ; }
Resets the connection addresses .