Package com.alibaba.jstorm.client.metric

Examples of com.alibaba.jstorm.client.metric.MetricCallback.callback()


      try{
            for (Entry<String, T> entry : metrics.entrySet()) {
              name = entry.getKey();
                MetricCallback callback = callbacks.get(entry.getValue());
                if (callback != null)
                    callback.callback(entry.getValue());
            }
      } catch (Exception e) {
        logger.error("Error when excuting the callbacks defined by user. CallBack Name=" + name, e);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.