Class TestEntityRef
- java.lang.Object
-
- akka.cluster.sharding.typed.testkit.scaladsl.TestEntityRef
-
public class TestEntityRef extends java.lang.Object
For testing purposes thisEntityRef
can be used in place of a realEntityRef
. 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>
apply(EntityTypeKey<M> typeKey, java.lang.String entityId, ActorRef<M> probe)
-
-
-
Method Detail
-
apply
public static <M> EntityRef<M> apply(EntityTypeKey<M> typeKey, java.lang.String entityId, ActorRef<M> probe)
-
-