Class SeveralRoutees

java.lang.Object
org.apache.pekko.routing.SeveralRoutees
All Implemented Interfaces:
Serializable, Routee, scala.Equals, scala.Product

public final class SeveralRoutees extends Object implements Routee, scala.Product, Serializable
Routee that sends each message to all routees.
See Also:
  • Constructor Details

    • SeveralRoutees

      public SeveralRoutees(scala.collection.immutable.IndexedSeq<Routee> routees)
    • SeveralRoutees

      public SeveralRoutees(Iterable<Routee> rs)
      Java API
  • Method Details

    • apply

      public static SeveralRoutees apply(scala.collection.immutable.IndexedSeq<Routee> routees)
    • unapply

      public static scala.Option<scala.collection.immutable.IndexedSeq<Routee>> unapply(SeveralRoutees x$0)
    • routees

      public scala.collection.immutable.IndexedSeq<Routee> routees()
    • getRoutees

      public List<Routee> getRoutees()
      Java API
    • send

      public void send(Object message, ActorRef sender)
      Specified by:
      send in interface Routee
    • copy

      public SeveralRoutees copy(scala.collection.immutable.IndexedSeq<Routee> routees)
    • copy$default$1

      public scala.collection.immutable.IndexedSeq<Routee> copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object