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

Client load-balancing API.

See:
          Description


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

Class Summary
FirstElementConnectionLoadBalancingPolicy A FirstElementConnectionLoadBalancingPolicy.select(int) always returns 0.
RandomConnectionLoadBalancingPolicy RandomConnectionLoadBalancingPolicy.select(int) returns a 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.
 

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 © 2009 Red Hat Inc. All Rights Reserved.