org.jboss.jms.client.plugin
Interface LoadBalancingPolicy
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- NoLoadBalancingLoadBalancingPolicy, RoundRobinLoadBalancingPolicy
public interface LoadBalancingPolicy
- extends java.io.Serializable
The interface that must be implemented by any load balancing policy plugin.
- Version:
- $Revision: 2977 $
$Id: LoadBalancingPolicy.java 2977 2007-08-08 15:32:14Z timfox $
- Author:
- Ovidiu Feodorov
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
getNext
ConnectionFactoryDelegate getNext()
updateView
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.