Sending ShardRegion.GetClusterShardingStats to a local shard region can get 
all shard regions, and their shards and underlying entities.

On Wednesday, 22 March 2017 10:53:27 UTC+8, Leo Wolf wrote:
>
> Hi there,
>
> I have constructed the shard region in actor system, but I wonder if 
> there's any way to know the number of entity actors in the system, or get 
> the number of all actors in whole actor system?
> If I count it with a counter, then if the actor system crashed and 
> restarted, I will lose counter information because it's not be cleaned, so 
> I prefer to find some way to acquire the information from the system. 
> Thanks a lot.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to