Uses of Class
org.apache.hadoop.metrics2.util.SampleStat
Packages that use SampleStat
Package
Description
A collection of library classes for implementing metrics sources
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 SampleStatModifier and TypeMethodDescriptionMutableStat.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 SampleStatModifier and TypeMethodDescriptionSampleStat.add(double x) Add a sample the running stat.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 SampleStatModifier and TypeMethodDescriptionvoidSampleStat.copyTo(SampleStat other) Copy the values to other (saves object creation and gc.)