[jboss-cvs] JBossAS SVN: r69396 - projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jan 28 15:05:41 EST 2008
Author: bstansberry at jboss.com
Date: 2008-01-28 15:05:41 -0500 (Mon, 28 Jan 2008)
New Revision: 69396
Modified:
projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/ClusterNode.java
Log:
Get rid of JGroups-specific getJGName() method
Javadoc
Modified: projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/ClusterNode.java
===================================================================
--- projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/ClusterNode.java 2008-01-28 17:42:50 UTC (rev 69395)
+++ projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/ClusterNode.java 2008-01-28 20:05:41 UTC (rev 69396)
@@ -33,11 +33,20 @@
public interface ClusterNode
extends Comparable, Cloneable, Serializable
{
+ /**
+ * Gets a String identifier for this node. The identifier should be unique
+ * across all nodes in the current view.
+ */
String getName();
- String getJGName();
-
+ /**
+ * Gets the <code>InetAddress</code> at which the node is receiving
+ * intra-cluster communications.
+ */
InetAddress getIpAddress();
+ /**
+ * Gets the port at which the node is receiving intra-cluster communications.
+ */
int getPort();
}
More information about the jboss-cvs-commits
mailing list