* @return True if there was a status update
*/
protected boolean updateStatus(NodeState nodeStatus, boolean byNodeItself)
{
// First: do we have info for the node?
final IpAndPort endpoint = nodeStatus.getAddress();
if (endpoint == null) {
LOG.warn("Missing endpoint info (sender? "+byNodeItself+"); need to skip update");
return false;
}
// also, local state must be produced locally; ignore what others think
// (in future could try pro-active fixing but...)
if (endpoint.equals(_localState.getAddress())) {
return false;
}
ClusterPeerImpl<K,E> peer;
try {