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

Package org.apache.hadoop.metrics2.util

# Class Metrics2Util

java.lang.Object
org.apache.hadoop.metrics2.util.Metrics2Util

@Private public class Metrics2Util extends Object
Utility class to simplify creation of hadoop metrics2 source/sink.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `Metrics2Util.NameValuePair`
  A pair of a name and its corresponding value.
  `static class`
  `Metrics2Util.TopN`
  A fixed-size priority queue, used to retrieve top-n of offered entries.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Metrics2Util()`

- ## Method Summary

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

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

- ## Constructor Details

  - ### Metrics2Util

    public Metrics2Util()