Package com.alibaba.jstorm.daemon.worker.metrics

Examples of com.alibaba.jstorm.daemon.worker.metrics.AlimonitorClient


  private void initUploadMetricThread(NimbusData data) {
    ScheduledExecutorService scheduleService = data.getScheduExec();
   
    MetricSendClient client;
    if (ConfigExtension.isAlimonitorMetricsPost(data.getConf())) {
        client = new AlimonitorClient(AlimonitorClient.DEFAUT_ADDR,
            AlimonitorClient.DEFAULT_PORT, true);
    } else {
      client = new MetricSendClient();
    }
   
View Full Code Here


    httpserver.start();
   
    //Step 8 start uploading every 60 secs
    MetricSendClient client;
    if (ConfigExtension.isAlimonitorMetricsPost(conf)) {
      client = new AlimonitorClient(AlimonitorClient.DEFAUT_ADDR,
          AlimonitorClient.DEFAULT_PORT, true);
    } else {
        client = new MetricSendClient();
    }
    UploadSupervMetric uploadMetric = new UploadSupervMetric(conf, stormClusterState,
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.daemon.worker.metrics.AlimonitorClient

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.