public void updateCacheMembers(List<Address> newClusterMembers) throws Exception { log.tracef("Updating cluster members for all the caches. New list is %s", newClusterMembers); for (ClusterCacheStatus cacheStatus : cacheStatusMap.values()) { cacheStatus.doHandleClusterView(newClusterMembers); } }
public void updateCacheMembers(List<Address> newClusterMembers) throws Exception { log.tracef("Updating cluster members for all the caches. New list is %s", newClusterMembers); try { // If we get a SuspectException here, it means we will have a new view soon and we can ignore // this one. confirmMembersAvailable(); } catch (SuspectException e) { log.tracef("Node %s left while updating cache members", e.getSuspect()); return; } for (ClusterCacheStatus cacheStatus : cacheStatusMap.values()) { cacheStatus.doHandleClusterView(); } }