Class Effect.Spawned<T>

java.lang.Object
org.apache.pekko.actor.testkit.typed.Effect
org.apache.pekko.actor.testkit.typed.Effect.Spawned<T>
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Product3<Behavior<T>,String,Props>
Enclosing class:
Effect

public static final class Effect.Spawned<T> extends Effect implements scala.Product3<Behavior<T>,String,Props>, Serializable
The behavior spawned a named child with the given behavior (and optionally specific props)
See Also:
  • Constructor Details

  • Method Details

    • behavior

      public Behavior<T> behavior()
    • childName

      public String childName()
    • props

      public Props props()
    • ref

      public ActorRef<T> ref()
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object
    • hashCode

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

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

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

      public Behavior<T> _1()
      Specified by:
      _1 in interface scala.Product3<Behavior<T>,String,Props>
    • _2

      public String _2()
      Specified by:
      _2 in interface scala.Product3<Behavior<T>,String,Props>
    • _3

      public Props _3()
      Specified by:
      _3 in interface scala.Product3<Behavior<T>,String,Props>
    • canEqual

      public boolean canEqual(Object o)
      Specified by:
      canEqual in interface scala.Equals