Mercurial > hg > Database > Alice
comparison src/main/java/alice/topology/manager/RecodeTopology.java @ 584:8f765e3eed24 dispose
add Topology Manager Number to Topology Node Key
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 27 Jan 2016 18:10:50 +0900 |
parents | fac27e395930 |
children | 3284428f525e |
comparison
equal
deleted
inserted
replaced
582:2aac0644f92d | 584:8f765e3eed24 |
---|---|
6 import alice.codesegment.CodeSegment; | 6 import alice.codesegment.CodeSegment; |
7 import alice.datasegment.CommandType; | 7 import alice.datasegment.CommandType; |
8 import alice.datasegment.Receiver; | 8 import alice.datasegment.Receiver; |
9 import alice.topology.HostMessage; | 9 import alice.topology.HostMessage; |
10 | 10 |
11 /** | |
12 * This class update "topology"(topology info). | |
13 * "topology" has HashMap<String:nodeName, LinkedList<HostMessage>> | |
14 */ | |
11 public class RecodeTopology extends CodeSegment { | 15 public class RecodeTopology extends CodeSegment { |
12 | 16 |
13 private Receiver info = ids.create(CommandType.TAKE); // NodeInfo | 17 private Receiver info = ids.create(CommandType.TAKE); // NodeInfo |
14 private Receiver info1 = ids.create(CommandType.TAKE); // HashMap | 18 private Receiver info1 = ids.create(CommandType.TAKE); // HashMap |
15 | 19 |