Mercurial > hg > Database > Christie
view src/main/java/christie/topology/manager/TopologyFinish.java @ 64:f884c1bd0d36
fix IncomingHosts and RecordTopology. and refactor.
author | akahori |
---|---|
date | Thu, 30 Aug 2018 10:55:37 +0900 |
parents | cfd79a71f9cd |
children | c0ce4d151f93 |
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); } }