Akka.Routing.ConsistentHashingGroup.ConsistentHashingGroup C# (CSharp) Метод

ConsistentHashingGroup() публичный Метод

Initializes a new instance of the ConsistentHashingGroup class.
public ConsistentHashingGroup ( Config config ) : System
config Akka.Configuration.Config /// The configuration to use to lookup paths used by the group router. /// /// /// If 'routees.path' is defined in the provided configuration then those paths will be used by the router. /// 'virtual-nodes-factor' defaults to 0 (zero) if it is not defined in the provided configuration. /// ///
Результат System
        public ConsistentHashingGroup(Config config)
            : base(config.GetStringList("routees.paths"))
        {
            VirtualNodesFactor = config.GetInt("virtual-nodes-factor", 0);
        }

Same methods

ConsistentHashingGroup::ConsistentHashingGroup ( ) : System
ConsistentHashingGroup::ConsistentHashingGroup ( IEnumerable routees, int virtualNodesFactor, ConsistentHashMapping hashMapping = null ) : System
ConsistentHashingGroup::ConsistentHashingGroup ( IEnumerable paths, int virtualNodesFactor, ConsistentHashMapping hashMapping = null ) : System