Package akka.actor

Class ActorSelection$

  • All Implemented Interfaces:
    java.io.Serializable

    public class ActorSelection$
    extends java.lang.Object
    implements java.io.Serializable
    An ActorSelection is a logical view of a section of an ActorSystem's tree of Actors, allowing for broadcasting of messages to that section.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ActorSelection$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      ActorSelection$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ActorSelection apply​(ActorRef anchorRef, java.lang.String path)
      Construct an ActorSelection from the given string representing a path relative to the given target.
      ActorSelection apply​(ActorRef anchorRef, scala.collection.Iterable<java.lang.String> elements)
      Construct an ActorSelection from the given string representing a path relative to the given target.
      ScalaActorSelection toScala​(ActorSelection sel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final ActorSelection$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • ActorSelection$

        public ActorSelection$()
    • Method Detail

      • apply

        public ActorSelection apply​(ActorRef anchorRef,
                                    java.lang.String path)
        Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.
      • apply

        public ActorSelection apply​(ActorRef anchorRef,
                                    scala.collection.Iterable<java.lang.String> elements)
        Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.