Util
- class LoadBalancer[source]
Bases:
objectLoad balancer allows you to send operations to one of a number of endpoints (Members). It is up to the implementation to use different load balancing policies.
If the client is configured with smart routing, only the operations that are not key based will be routed to the endpoint
- init(cluster_service)[source]
Initializes the load balancer.
- Parameters:
cluster_service (hazelcast.cluster.ClusterService) – The cluster service to select members from