Akka.Routing.ConsistentHashingGroup.WithHashMapping C# (CSharp) 메소드

WithHashMapping() 공개 메소드

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.
리턴 ConsistentHashingGroup
        public ConsistentHashingGroup WithHashMapping(ConsistentHashMapping mapping)
        {
            return new ConsistentHashingGroup(Paths, VirtualNodesFactor, mapping);
        }