Class TestEntityRef
- java.lang.Object
-
- org.apache.pekko.cluster.sharding.typed.testkit.javadsl.TestEntityRef
-
public class TestEntityRef extends java.lang.ObjectFor testing purposes thisEntityRefcan be used in place of a realpekko.cluster.sharding.typed.javadsl.EntityRef. It forwards all messages to theprobe.
-
-
Constructor Summary
Constructors Constructor Description TestEntityRef()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <M> EntityRef<M>of(EntityTypeKey<M> typeKey, java.lang.String entityId, ActorRef<M> probe)
-
-
-
Method Detail
-
of
public static <M> EntityRef<M> of(EntityTypeKey<M> typeKey, java.lang.String entityId, ActorRef<M> probe)
-
-