[jboss-jira] [JBoss JIRA] Created: (JBAS-5161) Preferred master API should live on its own hasingleton election policy

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Mon Jan 21 17:26:21 EST 2008


Preferred master API should live on its own hasingleton election policy
-----------------------------------------------------------------------

                 Key: JBAS-5161
                 URL: http://jira.jboss.com/jira/browse/JBAS-5161
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Clustering
    Affects Versions:  JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA
            Reporter: Galder Zamarreno
         Assigned To: Galder Zamarreno
             Fix For: JBossAS-5.0.0.Beta4


HASingletonElectionPolicy should only contain methods that actually called from 
the HASingletonSupport/HASingletonController classes so that they can inject 
attributes to the election policy that users don't have to specify in the ha singleton 
election policy bean definition.Therefore:

   /**
    * Sets the preferred master node. As long as the preferred master node
    * presents in the cluster, it will be always selected as master node,
    * no matter what the election policy is.
    * @param node String format of ip_address:port_number
    */
   void setPreferredMaster(String node);
   
   String getPreferredMaster();	

The methods above should not live in HASingletonElectionPolicy, but instead on its 
own policy impl class.. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list