Uses of Interface org.apache.hadoop.metrics2.MetricsSource (Apache Hadoop Common 3.5.0 API)
Description: use: package: org.apache.hadoop.metrics2, interface: MetricsSource

# Uses of Interface
org.apache.hadoop.metrics2.MetricsSource

Packages that use MetricsSource
Package
Description
org.apache.hadoop.fs.impl
This package contains implementation classes for use inside filesystems.
org.apache.hadoop.ipc
Tools to help define network clients and servers.
org.apache.hadoop.metrics2
Metrics 2.0
org.apache.hadoop.metrics2.impl
A metrics system implementation
org.apache.hadoop.metrics2.lib
A collection of library classes for implementing metrics sources
org.apache.hadoop.metrics2.source

- ## Uses of MetricsSource in org.apache.hadoop.fs.impl

  Classes in org.apache.hadoop.fs.impl that implement MetricsSource
  Modifier and Type
  Class
  Description
  `class`
  `WeakRefMetricsSource`
  A weak referenced metrics source which avoids hanging on to large objects if somehow they don't get fully closed/cleaned up.
  Methods in org.apache.hadoop.fs.impl that return MetricsSource
  Modifier and Type
  Method
  Description
  `MetricsSource`
  WeakRefMetricsSource.`getSource()`
  Get the source, will be null if the reference has been GC'd
  Constructors in org.apache.hadoop.fs.impl with parameters of type MetricsSource
  Modifier
  Constructor
  Description
  ``
  `WeakRefMetricsSource(String name, MetricsSource source)`
  Constructor.

- ## Uses of MetricsSource in org.apache.hadoop.ipc

  Classes in org.apache.hadoop.ipc that implement MetricsSource
  Modifier and Type
  Class
  Description
  `class`
  `DecayRpcScheduler`
  The decay RPC scheduler tracks the cost of incoming requests in a map, then decays the costs at a fixed time interval.
  `static final class`
  `DecayRpcScheduler.MetricsProxy`
  MetricsProxy is a singleton because we may init multiple schedulers and we want to clean up resources when a new scheduler replaces the old one.

- ## Uses of MetricsSource in org.apache.hadoop.metrics2

  Methods in org.apache.hadoop.metrics2 that return MetricsSource
  Modifier and Type
  Method
  Description
  `abstract MetricsSource`
  MetricsSystem.`getSource(String name)`

- ## Uses of MetricsSource in org.apache.hadoop.metrics2.impl

  Classes in org.apache.hadoop.metrics2.impl that implement MetricsSource
  Modifier and Type
  Class
  Description
  `class`
  `MetricsSystemImpl`
  A base class for metrics system singletons
  Methods in org.apache.hadoop.metrics2.impl that return MetricsSource
  Modifier and Type
  Method
  Description
  `MetricsSource`
  MetricsSystemImpl.`getSource(String name)`

- ## Uses of MetricsSource in org.apache.hadoop.metrics2.lib

  Methods in org.apache.hadoop.metrics2.lib that return MetricsSource
  Modifier and Type
  Method
  Description
  `MetricsSource`
  MetricsSourceBuilder.`build()`
  `static MetricsSource`
  MetricsAnnotations.`makeSource(Object source)`
  Make an metrics source from an annotated object.

- ## Uses of MetricsSource in org.apache.hadoop.metrics2.source

  Classes in org.apache.hadoop.metrics2.source that implement MetricsSource
  Modifier and Type
  Class
  Description
  `class`
  `JvmMetrics`
  JVM and logging related metrics.