Akka.Routing.ConsistentHashingPool.WithHashMapping C# (CSharp) Méthode

WithHashMapping() public méthode

Creates a new ConsistentHashingPool router with a given ConsistentHashMapping. This method is immutable and returns a new instance of the router.
public WithHashMapping ( ConsistentHashMapping mapping ) : ConsistentHashingPool
mapping ConsistentHashMapping The used to configure the new router.
Résultat ConsistentHashingPool
        public ConsistentHashingPool WithHashMapping(ConsistentHashMapping mapping)
        {
            return new ConsistentHashingPool(NrOfInstances, Resizer, SupervisorStrategy, RouterDispatcher,
                UsePoolDispatcher, VirtualNodesFactor, mapping);
        }