Class Effect.SpawnedAnonymous<T>

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

public static final class Effect.SpawnedAnonymous<T> extends Effect implements scala.Product2<Behavior<T>,Props>, Serializable
The behavior spawned an anonymous child with the given behavior (and optionally specific props)
See Also:
  • Constructor Details

  • Method Details

    • behavior

      public Behavior<T> behavior()
    • 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.Product2<Behavior<T>,Props>
    • _2

      public Props _2()
      Specified by:
      _2 in interface scala.Product2<Behavior<T>,Props>
    • canEqual

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