Package org.apache.hadoop.metrics2.util
@Public
@Evolving
package org.apache.hadoop.metrics2.util
General helpers for implementing source and sinks
-
ClassDescriptionorg.apache.hadoop.metrics2.util.ContractsAdditional helpers (besides guava Preconditions) for programming by contractThis 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).org.apache.hadoop.metrics2.util.Metrics2UtilUtility class to simplify creation of hadoop metrics2 source/sink.org.apache.hadoop.metrics2.util.Metrics2Util.NameValuePairA pair of a name and its corresponding value.org.apache.hadoop.metrics2.util.Metrics2Util.TopNA fixed-size priority queue, used to retrieve top-n of offered entries.A metrics cache for sinks that don't support sparse updates.org.apache.hadoop.metrics2.util.MetricsCache.RecordCached recordorg.apache.hadoop.metrics2.util.QuantileSpecifies a quantile (with error bounds) to be watched by aSampleQuantilesobject.org.apache.hadoop.metrics2.util.QuantileEstimatororg.apache.hadoop.metrics2.util.SampleQuantilesImplementation of the Cormode, Korn, Muthukrishnan, and Srivastava algorithm for streaming calculation of targeted high-percentile epsilon-approximate quantiles.org.apache.hadoop.metrics2.util.SampleStatHelper to compute running sample statsorg.apache.hadoop.metrics2.util.SampleStat.MinMaxHelper to keep running min/maxHelpers to handle server addresses