[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - Re: Extracting load balancing classes from AS cluster module
tom.elrod@jboss.com
do-not-reply at jboss.com
Mon Aug 21 13:43:20 EDT 2006
1. Agree with removing the HARMIClient.
2. FamilyClusterInfo looks fine with me to use within remoting. There are a few methods that I don't really understand what they do, such as:
public int getCursor();
public int setCursor (int cursor);
public Object getObject ();
public Object setObject (Object whatever);
(org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl sheds no light on them really as they are not used for anything other than the toString()).
3. Would prefer to not have the:
public Object chooseTarget (FamilyClusterInfo clusterFamily, Invocation routingDecision);
in the root interface.
Overall, would like to have a base LoadBalancePolicy interface with just:
public Object chooseTarget (FamilyClusterInfo clusterFamily);
and then have a JBossAS specific one that extends that. Only problem is that everyone is already using the current LoadBalancePolicy, so could create another base interface the the current one extends that just has the one chooseTarget() method. Don't really know what to name it, but seems like might be the easiest approach.
Although jndi will use remoting at some point and deteached invokers will fall under remoting project at some point, don't want to factor that in too much right now as don't know when this will happen or what the impact will be.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966502#3966502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966502
More information about the jboss-dev-forums
mailing list