remove ActorRef.address & ActorRef.name

- address => path.toString
- name => path.name
- forward hashCode, equals and compareTo to path
- implement recursive efficient ActorPath.compareTo
- fix ActorPath.equals endless recursion
- remove wrong warning in ActorCell.systemInvoke.supervise()
This commit is contained in:
Roland 2011-11-30 23:30:56 +01:00
parent 7e4333a612
commit b65799c7f3
16 changed files with 69 additions and 74 deletions

View file

@ -256,12 +256,12 @@ class Gossiper(remote: Remote) {
log.error(cause, cause.toString)
case None
val error = new RemoteException("Gossip to [%s] timed out".format(connection.address))
val error = new RemoteException("Gossip to [%s] timed out".format(connection.path))
log.error(error, error.toString)
}
} catch {
case e: Exception
log.error(e, "Could not gossip to [{}] due to: {}", connection.address, e.toString)
log.error(e, "Could not gossip to [{}] due to: {}", connection.path, e.toString)
}
seeds exists (peer == _)