Class ActorSelection$

java.lang.Object
org.apache.pekko.actor.ActorSelection$
All Implemented Interfaces:
Serializable

public class ActorSelection$ extends Object implements 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:
  • Field Details

    • MODULE$

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

    • ActorSelection$

      public ActorSelection$()
  • Method Details

    • toScala

      public ScalaActorSelection toScala(ActorSelection sel)
    • apply

      public ActorSelection apply(ActorRef anchorRef, 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<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.