org.jboss.messaging.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: 3794 $
$Id: LoadBalancingPolicy.java 3794 2008-02-25 19:31:23Z timfox $
- Author:
- Ovidiu Feodorov
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
getNext
ClientConnectionFactoryImpl getNext()
updateView
void updateView(ClientConnectionFactoryImpl[] 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.