有什么方法可以从 ActorRef 确定 Akka actor 实现吗?

Is there any way to determine an Akka actor implementation from an ActorRef?

有什么方法可以根据 ActorRef 确定 Actor 背后的实现 class 是什么?

我试过打印 myActor.getClass.getName 但是 returns "LocalActorRef"。我想知道的是 Class 是在演员创建时在演员 Props 对象中指定的。这在运行时可能吗?

不,无法从 ActorRef 中判断它代表什么样的演员。