Interface | Description |
---|---|
ConnectionLoadBalancingPolicy |
A ConnectionLoadBalancingPolicy defines a policy to load balance between connections.
|
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 © 2017 JBoss by Red Hat. All rights reserved.