# Package org.apache.activemq.artemis.api.core.client.loadbalance

- Interface Summary
  Interface | Description
  --- | ---
  ConnectionLoadBalancingPolicy | A ConnectionLoadBalancingPolicy defines a policy to load balance between connections.

- Class Summary
  Class | Description
  --- | ---
  FirstElementConnectionLoadBalancingPolicy | A `FirstElementConnectionLoadBalancingPolicy.select(int)` always returns 0.
  RandomConnectionLoadBalancingPolicy | `RandomConnectionLoadBalancingPolicy.select(int)` returns a (pseudo) random integer between `0` (inclusive) and `max` (exclusive).
  RandomStickyConnectionLoadBalancingPolicy | `RandomConnectionLoadBalancingPolicy.select(int)` chooses a the initial node randomly then subsequent requests return the same node
  RoundRobinConnectionLoadBalancingPolicy | RoundRobinConnectionLoadBalancingPolicy corresponds to a round-robin load-balancing policy.

Copyright © 2019 The Apache Software Foundation. All rights reserved.