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

WithHashMapping() public method

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