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

@ -247,13 +247,13 @@ class RemoteActorRefProvider(
throw cause
case None
val error = new RemoteException("Remote system command to [%s] timed out".format(connection.address))
val error = new RemoteException("Remote system command to [%s] timed out".format(connection.path))
log.error(error, error.toString)
throw error
}
} catch {
case e: Exception
log.error(e, "Could not send remote system command to [{}] due to: {}", connection.address, e.toString)
log.error(e, "Could not send remote system command to [{}] due to: {}", connection.path, e.toString)
throw e
}
} else {