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

WithVirtualNodesFactor() public method

Creates a new ConsistentHashingGroup router with a given VirtualNodesFactor. This method is immutable and returns a new instance of the router.
public WithVirtualNodesFactor ( int vnodes ) : ConsistentHashingGroup
vnodes int The used to configure the new router.
return ConsistentHashingGroup
        public ConsistentHashingGroup WithVirtualNodesFactor(int vnodes)
        {
            return new ConsistentHashingGroup(Paths, vnodes, HashMapping);
        }