Mercurial > hg > Database > Alice
annotate src/main/java/alice/topology/node/Start.java @ 655:1c93e82e05c6 default tip
fix timestamp
author | suruga |
---|---|
date | Sat, 17 Feb 2018 00:33:00 +0900 |
parents | 145c425db88d |
children | f3f7e256ee03 3284428f525e |
rev | line source |
---|---|
345 | 1 package alice.topology.node; |
2 | |
3 import org.apache.log4j.Logger; | |
4 | |
5 import alice.codesegment.CodeSegment; | |
6 import alice.datasegment.CommandType; | |
7 import alice.datasegment.Receiver; | |
8 | |
9 public class Start extends CodeSegment { | |
419 | 10 |
11 public Receiver done = ids.create(CommandType.PEEK); | |
523
145c425db88d
add CompressedLDSM
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
518
diff
changeset
|
12 |
419 | 13 private Logger logger = Logger.getLogger(Start.class); |
14 private CodeSegment startCS; | |
15 | |
404 | 16 |
419 | 17 public Start(CodeSegment startCS) { |
18 this.startCS = startCS; | |
19 } | |
20 | |
21 @Override | |
22 public void run() { | |
23 logger.info("Configuration finished."); | |
24 | |
25 if (startCS == null) | |
26 return; | |
27 startCS.execute(); | |
28 | |
29 } | |
345 | 30 |
31 } |