Examples of MetricMutableCounterInt


Examples of org.apache.hadoop.metrics2.lib.MetricMutableCounterInt

   * @param initValue of the metric
   * @return a new counter object
   */
  public MetricMutableCounterInt newCounter(String name, String description,
      int initValue) {
    MetricMutableCounterInt ret = mf.newCounter(name, description, initValue);
    return addNewMetricIfAbsent(name, ret, MetricMutableCounterInt.class);
  }
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.