org.jboss.jms.client.plugin
Class RoundRobinLoadBalancingPolicy

java.lang.Object
  extended by org.jboss.jms.client.plugin.RoundRobinLoadBalancingPolicy
All Implemented Interfaces:
java.io.Serializable, LoadBalancingPolicy

public class RoundRobinLoadBalancingPolicy
extends java.lang.Object
implements LoadBalancingPolicy

Version:
$Revision: 2868 $ $Id: RoundRobinLoadBalancingPolicy.java 2868 2007-07-10 20:22:16Z timfox $
Author:
Ovidiu Feodorov
See Also:
Serialized Form

Constructor Summary
RoundRobinLoadBalancingPolicy(ConnectionFactoryDelegate[] delegates)
           
 
Method Summary
 ConnectionFactoryDelegate getNext()
           
 void updateView(ConnectionFactoryDelegate[] delegates)
          This method should be called when updating the LoadBalancingFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRobinLoadBalancingPolicy

public RoundRobinLoadBalancingPolicy(ConnectionFactoryDelegate[] delegates)
Method Detail

getNext

public ConnectionFactoryDelegate getNext()
Specified by:
getNext in interface LoadBalancingPolicy

updateView

public void updateView(ConnectionFactoryDelegate[] delegates)
Description copied from interface: LoadBalancingPolicy
This method should be called when updating the LoadBalancingFactory

Specified by:
updateView in interface LoadBalancingPolicy
Parameters:
delegates - - a List representing the lastest cluster view to chose delegates from


Copyright © 2006 JBoss Inc. All Rights Reserved.