public AutoBalancerMetrics put(byte type, double value) {
        this.metricValueMap.put(type, value);
        return this;
    }
This class was modified based on Cruise Control: com.linkedin.kafka.cruisecontrol.metricsreporter.metric.CruiseControlMetric.
core/src/main/java/kafka/autobalancer/metricsreporter/metric/AutoBalancerMetrics.java