Uses of Class org.apache.hadoop.metrics2.util.SampleStat (Apache Hadoop Common 3.5.0 API)
Description: use: package: org.apache.hadoop.metrics2.util, class: SampleStat

# Uses of Class
org.apache.hadoop.metrics2.util.SampleStat

Packages that use SampleStat
Package
Description
org.apache.hadoop.metrics2.lib
A collection of library classes for implementing metrics sources
org.apache.hadoop.metrics2.util
General helpers for implementing source and sinks

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

  Methods in org.apache.hadoop.metrics2.lib that return SampleStat
  Modifier and Type
  Method
  Description
  `SampleStat`
  MutableStat.`lastStat()`
  Return a SampleStat object that supports calls like StdDev and Mean.

- ## Uses of SampleStat in org.apache.hadoop.metrics2.util

  Methods in org.apache.hadoop.metrics2.util that return SampleStat
  Modifier and Type
  Method
  Description
  `SampleStat`
  SampleStat.`add(double x)`
  Add a sample the running stat.
  `SampleStat`
  SampleStat.`add(long nSamples, double xTotal)`
  Add some sample and a partial sum to the running stat.
  Methods in org.apache.hadoop.metrics2.util with parameters of type SampleStat
  Modifier and Type
  Method
  Description
  `void`
  SampleStat.`copyTo(SampleStat other)`
  Copy the values to other (saves object creation and gc.)