Mercurial > hg > Database > Alice
view src/main/java/alice/test/topology/localTestTopology/LTopologyStartCodeSegment.java @ 643:74dbb8809c73
add local topology test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 31 Dec 2017 09:51:24 +0900 |
parents | |
children | cb16036404ba |
line wrap: on
line source
package alice.test.topology.localTestTopology; import alice.codesegment.CodeSegment; import java.util.LinkedList; public class LTopologyStartCodeSegment extends CodeSegment { private final LinkedList<LocalTestTopologyConfig> configs; public LTopologyStartCodeSegment(LinkedList<LocalTestTopologyConfig> configs) { this.configs = configs; } @Override public void run() { for(LocalTestTopologyConfig conf : configs) { new LTRemoteIncrement(conf); } ods.put("remote1", "num", 0); } }