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

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

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

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.