Removed the ActorRegistry, the different ActorRefProvider implementations now holds an Address->ActorRef registry. Looking up by UUID is gone together with all the other lookup methods such as 'foreach' etc. which do not make sense in a distributed env. 'shutdownAll' is also removed but will be replaced by parental supervision.
This commit is contained in:
parent
114abe19bd
commit
3e6decffc0
23 changed files with 208 additions and 507 deletions
|
|
@ -66,10 +66,16 @@ object Routing {
|
|||
|
||||
sealed trait RoutingMessage
|
||||
|
||||
/**
|
||||
* Used to broadcast a message to all connections in a router. E.g. every connection gets the message
|
||||
* regardless of their routing algorithm.
|
||||
*/
|
||||
case class Broadcast(message: Any) extends RoutingMessage
|
||||
|
||||
/**
|
||||
* FIXME: will very likely be moved to the ActorRef.
|
||||
* Creates (or fetches) a routed actor reference, configured by the 'props: RoutedProps' configuration.
|
||||
*
|
||||
* FIXME: will very likely be moved to the ActorRefProvider.
|
||||
*/
|
||||
def actorOf(props: RoutedProps, address: String = newUuid().toString): ActorRef = {
|
||||
//TODO Implement support for configuring by deployment ID etc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue