StaticLoadBalancer Class
Namespace: Hazelcast.Clustering.LoadBalancing
Assembly: Hazelcast.Net.dll
Represents a static load balancer.
public class StaticLoadBalancer : LoadBalancerBase, ILoadBalancer
Implements
Inherited Members
Remarks
A static load balancer knows only one member and always return that member.
Constructors
| Name | Description |
|---|---|
| StaticLoadBalancer(IReadOnlyDictionary<string, string>) | Initializes a new instance of the RandomLoadBalancer class. |
| StaticLoadBalancer(Guid) | Initializes a new instance of the StaticLoadBalancer class. |
Properties
| Name | Description |
|---|---|
| Count | Gets the number of members. |
Methods
| Name | Description |
|---|---|
| GetMember() | Selects a member. |
| SetMembers(IEnumerable<Guid>) | Sets the members. |