|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.jms.client.plugin.RandomLoadBalancingPolicy
Constructor Summary | |
RandomLoadBalancingPolicy(ConnectionFactoryDelegate[] delegates)
|
Method Summary | |
ConnectionFactoryDelegate |
getNext()
|
protected int |
randomSelect()
|
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 |
public RandomLoadBalancingPolicy(ConnectionFactoryDelegate[] delegates)
Method Detail |
public ConnectionFactoryDelegate getNext()
getNext
in interface LoadBalancingPolicy
public void updateView(ConnectionFactoryDelegate[] delegates)
LoadBalancingPolicy
updateView
in interface LoadBalancingPolicy
delegates
- - a Listprotected int randomSelect()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |