akka.actor

ActorRegistry

class ActorRegistry extends ListenerManagement

Registry holding all Actor instances in the whole system. Mapped by:

Attributes
final
Linear Supertypes
ListenerManagement, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ActorRegistry
  2. ListenerManagement
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def actorFor (uuid: Uuid): Option[ActorRef]

    Finds the actor that has a specific UUID.

  7. def actorFor [T <: Actor] (implicit manifest: Manifest[T]): Option[ActorRef]

    Finds any actor that matches T.

    Finds any actor that matches T. Very expensive, traverses ALL alive actors.

  8. def actors : Array[ActorRef]

    Returns all actors in the system.

  9. def actorsFor (id: String): Array[ActorRef]

    Finds all actors that has a specific id.

  10. def actorsFor [T <: Actor] (clazz: Class[T]): Array[ActorRef]

    Finds all actors of type or sub-type specified by the class passed in as the Class argument.

  11. def actorsFor [T <: Actor] (implicit manifest: Manifest[T]): Array[ActorRef]

    Finds all actors that are subtypes of the class passed in as the Manifest argument.

  12. def actorsFor [T <: Actor] (message: Any)(implicit manifest: Manifest[T]): Array[ActorRef]

    Finds all actors that are subtypes of the class passed in as the Manifest argument and supporting passed message.

  13. def addListener (listener: ActorRef): Unit

    Adds the listener this this registry's listener list.

    Adds the listener this this registry's listener list. The listener is started by this method if manageLifeCycleOfListeners yields true.

    Definition Classes
    ListenerManagement
  14. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  15. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def filter (p: (ActorRef) ⇒ Boolean): Array[ActorRef]

    Finds all actors that satisfy a predicate.

  19. def filterTypedActors (p: (AnyRef) ⇒ Boolean): Array[AnyRef]

    Finds all typed actors that satisfy a predicate.

  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def find [T] (f: PartialFunction[ActorRef, T]): Option[T]

    Invokes the function on all known actors until it returns Some Returns None if the function never returns Some

  22. def findTypedActor [T] (f: PartialFunction[AnyRef, T]): Option[T]

    Invokes the function on all known typed actors until it returns Some Returns None if the function never returns Some

  23. def foreach (f: (ActorRef) ⇒ Unit): Unit

    Invokes a function for all actors.

  24. def foreachListener (f: (ActorRef) ⇒ Unit): Unit

    Execute f with each listener as argument.

    Execute f with each listener as argument. ActorInitializationException is not handled.

    Attributes
    protected[akka]
    Definition Classes
    ListenerManagement
  25. def foreachTypedActor (f: (AnyRef) ⇒ Unit): Unit

    Invokes a function for all typed actors.

  26. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  27. def hasListener (listener: ActorRef): Boolean

    Checks if a specific listener is registered.

    Checks if a specific listener is registered. ActorInitializationException leads to removal of listener if that one isShutdown.

    Definition Classes
    ListenerManagement
  28. def hasListeners : Boolean

    Definition Classes
    ListenerManagement
  29. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  30. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  31. def manageLifeCycleOfListeners : Boolean

    Specifies whether listeners should be started when added and stopped when removed or not

    Specifies whether listeners should be started when added and stopped when removed or not

    Attributes
    protected
    Definition Classes
    ListenerManagement
  32. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  33. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  34. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  35. def notifyListeners (message: ⇒ Any): Unit

    Attributes
    protected[akka]
    Definition Classes
    ListenerManagement
  36. def removeListener (listener: ActorRef): Unit

    Removes the listener this this registry's listener list.

    Removes the listener this this registry's listener list. The listener is stopped by this method if manageLifeCycleOfListeners yields true.

    Definition Classes
    ListenerManagement
  37. def shutdownAll (): Unit

    Shuts down and unregisters all actors in the system.

  38. def size : Int

    Returns the number of actors in the system.

  39. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  40. def toString (): String

    Definition Classes
    AnyRef → Any
  41. def typedActorFor (uuid: Uuid): Option[AnyRef]

    Finds the typed actor that has a specific UUID.

  42. def typedActorFor [T <: AnyRef] (implicit manifest: Manifest[T]): Option[AnyRef]

    Finds any typed actor that matches T.

  43. def typedActors : Array[AnyRef]

    Returns all typed actors in the system.

  44. def typedActorsFor (id: String): Array[AnyRef]

    Finds all typed actors that have a specific id.

  45. def typedActorsFor [T <: AnyRef] (clazz: Class[T]): Array[AnyRef]

    Finds all typed actors of type or sub-type specified by the class passed in as the Class argument.

  46. def typedActorsFor [T <: AnyRef] (implicit manifest: Manifest[T]): Array[AnyRef]

    Finds all typed actors that are subtypes of the class passed in as the Manifest argument.

  47. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ListenerManagement

Inherited from AnyRef

Inherited from Any