Package com.alibaba.jstorm.metric

Examples of com.alibaba.jstorm.metric.JStormTimer


    return ret;
  }
 
  public JStormTimer registerTimer(String name, MetricCallback<Timer> callback) {
    String userMetricName = getMetricName(taskid, name);
        JStormTimer ret = Metrics.registerTimer(userMetricName);
        Metrics.registerUserDefine(userMetricName, ret, callback);   
    return ret;
  }
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.metric.JStormTimer

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.