public synchronized void replicantsChanged(String key, List<?> newReplicants, int newReplicantsViewId, boolean merge)
{
super.replicantsChanged (key, newReplicants, newReplicantsViewId, merge);
initGeneratedProxies();
List<SoftReference<HARMIClient>> trash = new ArrayList<SoftReference<HARMIClient>>();
for (SoftReference<HARMIClient> ref : generatedProxies)
{
HARMIClient proxy = ref.get ();
if (proxy == null)
{
trash.add (ref);
}
else
{
proxy.updateClusterInfo (this.replicants, this.clusterViewId);
}
}
if (trash.size () > 0)
generatedProxies.removeAll(trash);
}