@ Override public void removeNeighbors ( final Collection < TrustGraphNodeId > neighbors ) { synchronized ( this ) { // remove the neighbors from the ordering in bulk removeNeighborsFromOrdering ( neighbors ) ; // just loop over the neighbors and use the single removal operation. for ( TrustGraphNodeId n : neighbors ) { removeNeighborFromRoutingTable ( n ) ; } } }
Remove a set of TrustGraphNeighbors from the routing table .