程序包 | 说明 |
---|---|
org.apache.hadoop.metrics2.util |
限定符和类型 | 方法和说明 |
---|---|
SampleStat |
SampleStat.add(double x)
Add a sample the running stat.
|
SampleStat |
SampleStat.add(long nSamples,
double x)
Add some sample and a partial sum to the running stat.
|
限定符和类型 | 方法和说明 |
---|---|
void |
SampleStat.copyTo(SampleStat other)
Copy the values to other (saves object creation and gc.)
|
Copyright © 2009 The Apache Software Foundation