Package com.alibaba.jstorm.ui.model

Examples of com.alibaba.jstorm.ui.model.ClusterInfo


      if (uiClusters != null) {
        clusterType = MULTI_CLUSTER;
          clusterInfos = new ArrayList<ClusterInfo>()
          for (Map cluster : uiClusters) {
            LOG.debug("Get ui cluster config infor, " + cluster);
            ClusterInfo clusterInfo = new ClusterInfo();
            clusterInfo.setClusterName(ConfigExtension.getUiClusterName(cluster));
            clusterInfo.setZkPort(ConfigExtension.getUiClusterZkPort(cluster));
            clusterInfo.setZkRoot(ConfigExtension.getUiClusterZkRoot(cluster));
            clusterInfo.setZkServers(ConfigExtension.getUiClusterZkServers(cluster));
            clusterInfos.add(clusterInfo);
          }
      } else {
        clusterType = SINGLE_CLUSTER;
      }
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.ui.model.ClusterInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.