org.jboss.jms.client.plugin
Interface LoadBalancingPolicy
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- NoLoadBalancingLoadBalancingPolicy, RandomLoadBalancingPolicy, RoundRobinLoadBalancingPolicy
- public interface LoadBalancingPolicy
- extends java.io.Serializable
The interface that must be implemented by any load balancing policy plugin.
- Version:
- $Revision: 1981 $
$Id: LoadBalancingPolicy.java 1981 2007-01-18 16:12:55Z clebert.suconic@jboss.com $
- Author:
- Ovidiu Feodorov
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
getNext
public ConnectionFactoryDelegate getNext()
updateView
public void updateView(ConnectionFactoryDelegate[] delegates)
- This method should be called when updating the LoadBalancingFactory
- Parameters:
delegates
- - a List representing the lastest cluster view
to chose delegates from
Copyright © 2006 JBoss Inc. All Rights Reserved.