Package org.hornetq.api.core.client.loadbalance

Client load-balancing API.


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

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

Package org.hornetq.api.core.client.loadbalance Description

Client load-balancing API.
This package defines the policies supported by HornetQ to load-balance client connections across HornetQ servers.

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.