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

Field Summary
static long serialVersionUID
           
 
Method Summary
 ConnectionFactoryDelegate getNext()
           
 void updateView(ConnectionFactoryDelegate[] delegates)
          This method should be called when updating the LoadBalancingFactory
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

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.