comparison src/main/java/alice/test/topology/share/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
comparison
equal deleted inserted replaced
546:15eeb439830c 547:e91a574b69de
11 private Receiver data = ids.create(CommandType.PEEK); 11 private Receiver data = ids.create(CommandType.PEEK);
12 private Receiver list = ids.create(CommandType.PEEK); 12 private Receiver list = ids.create(CommandType.PEEK);
13 private Receiver host = ids.create(CommandType.PEEK); 13 private Receiver host = ids.create(CommandType.PEEK);
14 14
15 15
16 public CheckLocalIndex(String key, int index) { 16 public CheckLocalIndex(String key) {
17 this.host.setKey("host", arg1.index, this); 17 this.host.setKey("host", this);
18 this.list.setKey("_CLIST", arg1.index, this); 18 this.list.setKey("_CLIST", this);
19 this.data.setKey(key, index); 19 this.data.setKey(key, this);
20 } 20 }
21 21
22 @Override 22 @Override
23 public void run() { 23 public void run() {
24 @SuppressWarnings("unchecked") 24 @SuppressWarnings("unchecked")
35 } 35 }
36 } 36 }
37 if (count == 0 && flag) { 37 if (count == 0 && flag) {
38 ods.put("parent", "data", data.getVal()); 38 ods.put("parent", "data", data.getVal());
39 } 39 }
40 new CheckLocalIndex(data.key, data.index); 40 new CheckLocalIndex(data.key);
41 41
42 } 42 }
43 43
44 } 44 }