/** * Copyright (C) 2009-2011 Scalable Solutions AB */ package akka.actor import scala.collection.mutable.{ ListBuffer, Map } import scala.reflect.ArrayTag import java.util.concurrent.{ ConcurrentSkipListSet, ConcurrentHashMap } import java.util.{ Set => JSet } import annotation.tailrec import akka.util.ReflectiveAccess._ import akka.util.{ ReflectiveAccess, ReadWriteGuard, ListenerManagement } /** * Base trait for ActorRegistry events, allows listen to when an actor is added and removed from the ActorRegistry. * * @author Jonas Bonér */ sealed trait ActorRegistryEvent case class ActorRegistered(actor: ActorRef) extends ActorRegistryEvent case class ActorUnregistered(actor: ActorRef) extends ActorRegistryEvent /** * Registry holding all Actor instances in the whole system. * Mapped by: *