use of org.jgroups.SuspectedException in project JGroups by belaban.
the class UnicastRequest method viewChange.
/**
* If the target address is not a member of the new view, we'll mark the response as suspected and unblock
* the caller of execute()
*/
public void viewChange(View view) {
if (view == null)
return;
// SiteAddresses are not checked as they might be in a different cluster
if (!(target instanceof SiteAddress) && !view.containsMember(target) && !isDone()) {
completeExceptionally(new SuspectedException(target));
corrDone();
}
}
Aggregations