Mercurial > hg > Database > Christie
view src/main/java/christie/topology/manager/TopologyFinish.java @ 50:8dfd93810041
fix config and HostMessage
author | akahori |
---|---|
date | Thu, 23 Aug 2018 09:30:36 +0900 |
parents | ea9657dc8311 |
children | bacc42fb65a1 |
line wrap: on
line source
package christie.topology.manager; import christie.annotation.Peek; import christie.annotation.Take; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; public class TopologyFinish extends CodeGear { // Question: Finishもどこで使われているかわかんない. //public Receiver finish = ids.create(CommandType.TAKE); //cs2.finish.setKey("local", "finish"); @Peek TopologyManagerConfig config; @Take Long startTime; @Override protected void run(CodeGearManager cgm) { if (config.showTime) { System.out.println("TopologymanagerTime = "+ (System.currentTimeMillis()-startTime)); } System.exit(0); } }