org.apache.hadoop.metrics2.util (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.metrics2.util

# Package org.apache.hadoop.metrics2.util

@Public @Evolving package org.apache.hadoop.metrics2.util
General helpers for implementing source and sinks

- Related Packages
  Package
  Description
  org.apache.hadoop.metrics2
  Metrics 2.0
- Class
  Description
  Contracts
  Additional helpers (besides guava Preconditions) for programming by contract
  MBeans
  This util class provides a method to register an MBean using our standard naming convention as described in the doc for {link `MBeans.register(String, String, Object)`.
  Metrics2Util
  Utility class to simplify creation of hadoop metrics2 source/sink.
  Metrics2Util.NameValuePair
  A pair of a name and its corresponding value.
  Metrics2Util.TopN
  A fixed-size priority queue, used to retrieve top-n of offered entries.
  MetricsCache
  A metrics cache for sinks that don't support sparse updates.
  MetricsCache.Record
  Cached record
  Quantile
  Specifies a quantile (with error bounds) to be watched by a `SampleQuantiles` object.
  QuantileEstimator
  SampleQuantiles
  Implementation of the Cormode, Korn, Muthukrishnan, and Srivastava algorithm for streaming calculation of targeted high-percentile epsilon-approximate quantiles.
  SampleStat
  Helper to compute running sample stats
  SampleStat.MinMax
  Helper to keep running min/max
  Servers
  Helpers to handle server addresses