.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    LoadBalancer Property

    LoadBalancer

    Gets the SingletonServiceFactory<TService> for the ILoadBalancer.

    Declaration
    public SingletonServiceFactory<ILoadBalancer> LoadBalancer { get; }
    Property Value
    SingletonServiceFactory<ILoadBalancer>
    Remarks

    When set in the configuration file, it is defined as an injected type, for instance:

    "loadBalancer":
    {
      "typeName": "My.LoadBalancer",
      "args":
      {
        "foo": 42
      }
    }
    where typeName is the name of the type, and args is an optional dictionary of arguments for the type constructor.

    In addition to custom type names, typeName can be any of the predefined Random, RoundRobin or Static values.

    The default load balancer is the RoundRobinLoadBalancer.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.