Akka.Routing.ConsistentHashingGroup.CreateRouter C# (CSharp) Method

CreateRouter() public method

Creates a router that is responsible for routing messages to routees within the provided system.
public CreateRouter ( ActorSystem system ) : Router
system ActorSystem The actor system that owns this router.
return Router
        public override Router CreateRouter(ActorSystem system)
        {
            return
                new Router(new ConsistentHashingRoutingLogic(system, VirtualNodesFactor,
                    HashMapping ?? ConsistentHashingRouter.EmptyConsistentHashMapping));
        }