[jboss-jira] [JBoss JIRA] Created: (JBAS-6375) PreferredMasterElectionPolicy unnecessarily parses host/port every election

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Mon Jan 12 19:08:04 EST 2009


PreferredMasterElectionPolicy unnecessarily parses host/port every election
---------------------------------------------------------------------------

                 Key: JBAS-6375
                 URL: https://jira.jboss.org/jira/browse/JBAS-6375
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: Clustering
    Affects Versions: JBossAS-5.0.0.GA
            Reporter: Paul Ferraro
            Assignee: Brian Stansberry
            Priority: Minor


PreferredMasterElectionPolicy parses the host/port from a string on every call to elect(List<ClusterNode>).  This ought to be done in setPreferredMaster(String) to minimize the work required during the master election.  Performing this in the property's mutator method doubles as validation logic.

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

        



More information about the jboss-jira mailing list