示例#1
0
 @Activate
 public void activate() throws Exception {
   ControllerNode localNode = clusterDefinitionService.localNode();
   getTLSParameters();
   super.start(new Endpoint(localNode.ip(), localNode.tcpPort()));
   log.info("Started");
 }
示例#2
0
 @Override
 public int compare(ControllerNode ci1, ControllerNode ci2) {
   return ci1.id().toString().compareTo(ci2.id().toString());
 }