Package org.apache.storm.daemon.metrics

# Class ClientMetricsUtils

java.lang.Object
org.apache.storm.daemon.metrics.ClientMetricsUtils

public class ClientMetricsUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClientMetricsUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static TimeUnit`
  `getMetricsDurationUnit(Map<String,Object> reporterConf)`
  `static TimeUnit`
  `getMetricsRateUnit(Map<String,Object> reporterConf)`
  `static Locale`
  `getMetricsReporterLocale(Map<String,Object> reporterConf)`
  `static TimeUnit`
  `getTimeUnitForConfig(Map<String,Object> reporterConf, String configName)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ClientMetricsUtils

    public ClientMetricsUtils()

- ## Method Details

  - ### getMetricsRateUnit

    public static TimeUnit getMetricsRateUnit(Map<String,Object> reporterConf)

  - ### getMetricsDurationUnit

    public static TimeUnit getMetricsDurationUnit(Map<String,Object> reporterConf)

  - ### getMetricsReporterLocale

    public static Locale getMetricsReporterLocale(Map<String,Object> reporterConf)

  - ### getTimeUnitForConfig

    public static TimeUnit getTimeUnitForConfig(Map<String,Object> reporterConf, String configName)