Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5161

Preferred master API should live on its own hasingleton election policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.CR1
    • JBossAS-4.2.2.GA, JBossAS-5.0.0.Beta3
    • Clustering
    • None

      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..

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: