[hornetq-commits] JBoss hornetq SVN: r12255 - in trunk/hornetq-core/src/main/java/org/hornetq/core: server/cluster and 1 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Mar 7 07:48:24 EST 2012
Author: borges
Date: 2012-03-07 07:48:23 -0500 (Wed, 07 Mar 2012)
New Revision: 12255
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/Topology.java
trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/ClusterConnection.java
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
Fix javadoc warnings
Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/Topology.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/Topology.java 2012-03-07 12:47:50 UTC (rev 12254)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/Topology.java 2012-03-07 12:48:23 UTC (rev 12255)
@@ -148,7 +148,7 @@
}
/**
- * @param uniqueEventID an unique identifier for when the change was made We will use current
+ * @param uniqueEventID an unique identifier for when the change was made. We will use current
* time millis for starts, and a ++ of that number for shutdown.
* @param nodeId
* @param memberInput
@@ -372,7 +372,6 @@
/**
* it will send the member to its listeners
* @param nodeID
- * @param member
*/
public void sendMember(final String nodeID)
{
@@ -523,9 +522,6 @@
return null;
}
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
@Override
public String toString()
{
Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/ClusterConnection.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/ClusterConnection.java 2012-03-07 12:47:50 UTC (rev 12254)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/ClusterConnection.java 2012-03-07 12:48:23 UTC (rev 12255)
@@ -27,7 +27,7 @@
* A ClusterConnection
*
* @author <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
- *
+ *
* Created 23 Jan 2009 14:51:55
*
*
@@ -37,33 +37,33 @@
SimpleString getName();
String getNodeID();
-
+
HornetQServer getServer();
-
+
void nodeAnnounced(long eventUID, String nodeID, Pair<TransportConfiguration, TransportConfiguration> connectorPair, boolean backup);
void addClusterTopologyListener(ClusterTopologyListener listener);
-
+
void removeClusterTopologyListener(ClusterTopologyListener listener);
-
+
/**
* @return a Map of node ID and addresses
*/
Map<String, String> getNodes();
void activate() throws Exception;
-
+
TransportConfiguration getConnector();
-
+
Topology getTopology();
-
+
void flushExecutor();
// for debug
String describe();
void informTopology();
-
+
void announceBackup();
boolean isNodeActive(String id);
@@ -72,8 +72,8 @@
* Verifies whether user and password match the ones configured for this ClusterConnection.
* @param clusterUser
* @param clusterPassword
- * @return
+ * @return {@code true} if username and password match, {@code false} otherwise.
*/
boolean verify(String clusterUser, String clusterPassword);
-
+
}
Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2012-03-07 12:47:50 UTC (rev 12254)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2012-03-07 12:48:23 UTC (rev 12255)
@@ -2374,7 +2374,8 @@
* not take over the live's functions.
* <p>
* A local backup server or a live server should always return {@code true}
- * @return
+ * @return whether the backup is up-to-date, if the server is not a backup it always returns
+ * {@code true}.
*/
public boolean isRemoteBackupUpToDate()
{
More information about the hornetq-commits
mailing list