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

WithVirtualNodesFactor() public method

Creates a new ConsistentHashingPool router with a given VirtualNodesFactor. This method is immutable and returns a new instance of the router.
public WithVirtualNodesFactor ( int vnodes ) : ConsistentHashingPool
vnodes int The used to configure the new router.
return ConsistentHashingPool
        public ConsistentHashingPool WithVirtualNodesFactor(int vnodes)
        {
            return new ConsistentHashingPool(NrOfInstances, Resizer, SupervisorStrategy, RouterDispatcher,
                UsePoolDispatcher, vnodes, _hashMapping);
        }