Package | Description |
---|---|
org.apache.hadoop.metrics2.util |
General helpers for implementing source and sinks
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SampleStat.copyTo(SampleStat other)
Copy the values to other (saves object creation and gc.)
|
Copyright © 2013 Apache Software Foundation. All rights reserved.