[jboss-cvs] JBossAS SVN: r69224 - in projects/cluster/ha-server-api/trunk: src/main/java/org/jboss/ha/framework/interfaces and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 22 18:12:20 EST 2008


Author: galder.zamarreno at jboss.com
Date: 2008-01-22 18:12:20 -0500 (Tue, 22 Jan 2008)
New Revision: 69224

Modified:
   projects/cluster/ha-server-api/trunk/
   projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java
Log:
[JBAS-5155] New lookupReplicantsNodes method has been added and lookupReplicantsNodeNames has been deprecated. Added svn ignore to avoid target folder being committed by mistake.


Property changes on: projects/cluster/ha-server-api/trunk
___________________________________________________________________
Name: svn:ignore
   + target


Modified: projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java
===================================================================
--- projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java	2008-01-22 23:06:38 UTC (rev 69223)
+++ projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java	2008-01-22 23:12:20 UTC (rev 69224)
@@ -121,8 +121,20 @@
     * @return A list of the node names of cluster nodes that have made available
     *         a replicant for the given key. This list will be in the same 
     *         order in all nodes in the cluster.
+    * @deprecated use lookupReplicantsNodes(key) instead, 
+    *             calling ClusterNode.getName().
     */
+   @Deprecated
    public List lookupReplicantsNodeNames(String key);
+   
+   /**
+    * Return a list of all replicants nodes.
+    * @param key The replicant name
+    * @return A list of the ClusterNode instances that have made available
+    *         a replicant for the given key. This list will be in the same 
+    *         order in all nodes in the cluster.
+    */
+   public List<ClusterNode> lookupReplicantsNodes(String key);
 
    /**
     * Return a list of all services that have at least one replicant.




More information about the jboss-cvs-commits mailing list