Mercurial > hg > Database > Alice
diff src/main/java/alice/test/topology/aquarium/CheckLocalIndex.java @ 547:e91a574b69de dispose
remove index
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Aug 2015 16:15:17 +0900 |
parents | 15eeb439830c |
children |
line wrap: on
line diff
--- a/src/main/java/alice/test/topology/aquarium/CheckLocalIndex.java Tue Aug 04 19:39:47 2015 +0900 +++ b/src/main/java/alice/test/topology/aquarium/CheckLocalIndex.java Tue Aug 18 16:15:17 2015 +0900 @@ -11,9 +11,9 @@ private Receiver data = ids.create(CommandType.PEEK); private Receiver list = ids.create(CommandType.PEEK); - public CheckLocalIndex(String key, int index){ - this.list.setKey("_CLIST", arg1.index, this); - this.data.setKey(key, index); + public CheckLocalIndex(String key){ + this.list.setKey("_CLIST", this); + this.data.setKey(key, this); } @Override @@ -26,7 +26,7 @@ ods.update(node, data.key, data.getVal()); } } - new CheckLocalIndex(data.key, data.index); + new CheckLocalIndex(data.key); }