Mercurial > hg > Database > Christie
view src/main/java/christie/topology/manager/TopologyFinish.java @ 98:c0ce4d151f93
update uncomment System.exit
author | akahori |
---|---|
date | Tue, 18 Sep 2018 09:22:48 +0900 |
parents | f884c1bd0d36 |
children | 058db5b0861b |
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"); @Take String finish; @Peek TopologyManagerConfig topologyManagerConfig; @Take Long startTime; @Override protected void run(CodeGearManager cgm) { if (topologyManagerConfig.showTime) { System.out.println("TopologymanagerTime = "+ (System.currentTimeMillis()-startTime)); } System.exit(0); } }