You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gossip.apache.org by ec...@apache.org on 2017/01/05 01:31:28 UTC

[1/2] incubator-gossip git commit: GOSSIP-31 Update README with correct APIs

Repository: incubator-gossip
Updated Branches:
  refs/heads/master 6720f35be -> 18c9f911d


GOSSIP-31 Update README with correct APIs


Project: http://git-wip-us.apache.org/repos/asf/incubator-gossip/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gossip/commit/48c4fda0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gossip/tree/48c4fda0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gossip/diff/48c4fda0

Branch: refs/heads/master
Commit: 48c4fda038554d9502530d383d922854920666d0
Parents: 02ac782
Author: Rishabh Patel <ri...@gmail.com>
Authored: Wed Oct 19 06:27:10 2016 -0700
Committer: Rishabh Patel <ri...@gmail.com>
Committed: Wed Oct 19 06:27:10 2016 -0700

----------------------------------------------------------------------
 README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/48c4fda0/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 27f5c2f..5bdc620 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Later we can check that the nodes discover each other
 ```java
   Thread.sleep(10000);
   for (int i = 0; i < clusterMembers; ++i) {
-    Assert.assertEquals(4, clients.get(i).get_gossipManager().getMemberList().size());
+    Assert.assertEquals(4, clients.get(i).getGossipManager().getLiveMembers().size());
   }
 ```
 
@@ -86,12 +86,12 @@ Event Listener
 The status can be polled using the getters that return immutable lists.
 
 ```java
-   List<LocalGossipMember> getMemberList()
-   public List<LocalGossipMember> getDeadList()
+   public List<LocalGossipMember> getLiveMembers()
+   public List<LocalGossipMember> getDeadMembers()
 ```
 
 These can be accessed from the `GossipManager` on your `GossipService`, e.g:
-`gossipService.get_gossipManager().getMemberList();`
+`gossipService.getGossipManager().getLiveMembers();`
 
 Users can also attach an event listener:
 


[2/2] incubator-gossip git commit: GOSSIP-31 Changes to readme (Rishabh Patel via EGC)

Posted by ec...@apache.org.
GOSSIP-31 Changes to readme (Rishabh Patel via EGC)


Project: http://git-wip-us.apache.org/repos/asf/incubator-gossip/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gossip/commit/18c9f911
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gossip/tree/18c9f911
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gossip/diff/18c9f911

Branch: refs/heads/master
Commit: 18c9f911d109682e3e0d0ef97f469b591963915c
Parents: 6720f35 48c4fda
Author: Edward Capriolo <ed...@gmail.com>
Authored: Wed Jan 4 20:30:53 2017 -0500
Committer: Edward Capriolo <ed...@gmail.com>
Committed: Wed Jan 4 20:30:53 2017 -0500

----------------------------------------------------------------------
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------