camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hekon...@apache.org
Subject git commit: [JGroups] Added more Javadoc.
Date Wed, 01 Jan 2014 15:23:45 GMT
Updated Branches:
  refs/heads/master 0f8550db5 -> adaec93e5


[JGroups] Added more Javadoc.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/adaec93e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/adaec93e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/adaec93e

Branch: refs/heads/master
Commit: adaec93e5160f3f8737390a04fde5b0f400777e6
Parents: 0f8550d
Author: Henryk Konsek <hekonsek@gmail.com>
Authored: Wed Jan 1 16:23:25 2014 +0100
Committer: Henryk Konsek <hekonsek@gmail.com>
Committed: Wed Jan 1 16:23:25 2014 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/jgroups/JGroupsFilters.java  | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/adaec93e/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsFilters.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsFilters.java
b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsFilters.java
index 4063208..468feeb 100644
--- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsFilters.java
+++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsFilters.java
@@ -25,17 +25,24 @@ import org.slf4j.LoggerFactory;
 
 import static org.apache.camel.component.jgroups.JGroupsEndpoint.HEADER_JGROUPS_CHANNEL_ADDRESS;
 
+/**
+ * JGroups-specific filters factory.
+ */
 public final class JGroupsFilters {
 
     private static final Logger LOG = LoggerFactory.getLogger(JGroupsFilters.class);
 
+    /**
+     * The index of the coordinator node in the {@code org.jgroups.View} instance. Coordinator
node is always the first
+     * one in the members' list of the cluster view.
+     */
     private static final int COORDINATOR_NODE_INDEX = 0;
 
     private JGroupsFilters() {
     }
 
     /**
-     * Creates predicate rejecting messages that are instances of {@link org.jgroups.View},
but have not been received
+     * Creates predicate rejecting messages that are instances of {@code org.jgroups.View},
but have not been received
      * by the coordinator JGroups node. This filter is useful for keeping only view messages
indicating that receiving
      * endpoint is a master node.
      *


Mime
View raw message