public class ForwardingIOStatisticsStore extends Object implements org.apache.hadoop.fs.statistics.impl.IOStatisticsStore
| Constructor and Description |
|---|
ForwardingIOStatisticsStore(org.apache.hadoop.fs.statistics.impl.IOStatisticsStore innerStatistics) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMaximumSample(String key,
long value) |
void |
addMeanStatisticSample(String key,
long value) |
void |
addMinimumSample(String key,
long value) |
void |
addTimedOperation(String prefix,
Duration duration) |
void |
addTimedOperation(String prefix,
long durationMillis) |
boolean |
aggregate(org.apache.hadoop.fs.statistics.IOStatistics statistics) |
Map<String,Long> |
counters() |
Map<String,Long> |
gauges() |
AtomicLong |
getCounterReference(String key) |
AtomicLong |
getGaugeReference(String key) |
protected org.apache.hadoop.fs.statistics.impl.IOStatisticsStore |
getInnerStatistics() |
AtomicLong |
getMaximumReference(String key) |
org.apache.hadoop.fs.statistics.MeanStatistic |
getMeanStatistic(String key) |
AtomicLong |
getMinimumReference(String key) |
long |
incrementCounter(String key,
long value) |
long |
incrementGauge(String key,
long value) |
long |
incrementMaximum(String key,
long value) |
long |
incrementMinimum(String key,
long value) |
Map<String,Long> |
maximums() |
Map<String,org.apache.hadoop.fs.statistics.MeanStatistic> |
meanStatistics() |
Map<String,Long> |
minimums() |
void |
reset() |
void |
setCounter(String key,
long value) |
void |
setGauge(String key,
long value) |
void |
setMaximum(String key,
long value) |
void |
setMeanStatistic(String key,
org.apache.hadoop.fs.statistics.MeanStatistic value) |
void |
setMinimum(String key,
long value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ForwardingIOStatisticsStore(org.apache.hadoop.fs.statistics.impl.IOStatisticsStore innerStatistics)
protected org.apache.hadoop.fs.statistics.impl.IOStatisticsStore getInnerStatistics()
public Map<String,Long> counters()
counters in interface org.apache.hadoop.fs.statistics.IOStatisticspublic Map<String,Long> gauges()
gauges in interface org.apache.hadoop.fs.statistics.IOStatisticspublic Map<String,Long> minimums()
minimums in interface org.apache.hadoop.fs.statistics.IOStatisticspublic Map<String,Long> maximums()
maximums in interface org.apache.hadoop.fs.statistics.IOStatisticspublic Map<String,org.apache.hadoop.fs.statistics.MeanStatistic> meanStatistics()
meanStatistics in interface org.apache.hadoop.fs.statistics.IOStatisticspublic boolean aggregate(@Nullable org.apache.hadoop.fs.statistics.IOStatistics statistics)
aggregate in interface org.apache.hadoop.fs.statistics.IOStatisticsAggregatorpublic long incrementCounter(String key, long value)
incrementCounter in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void setCounter(String key, long value)
setCounter in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void setGauge(String key, long value)
setGauge in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic long incrementGauge(String key, long value)
incrementGauge in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void setMaximum(String key, long value)
setMaximum in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic long incrementMaximum(String key, long value)
incrementMaximum in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void setMinimum(String key, long value)
setMinimum in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic long incrementMinimum(String key, long value)
incrementMinimum in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void addMinimumSample(String key, long value)
addMinimumSample in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void addMaximumSample(String key, long value)
addMaximumSample in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void setMeanStatistic(String key, org.apache.hadoop.fs.statistics.MeanStatistic value)
setMeanStatistic in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void addMeanStatisticSample(String key, long value)
addMeanStatisticSample in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void reset()
reset in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic AtomicLong getCounterReference(String key)
getCounterReference in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic AtomicLong getMaximumReference(String key)
getMaximumReference in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic AtomicLong getMinimumReference(String key)
getMinimumReference in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic AtomicLong getGaugeReference(String key)
getGaugeReference in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic org.apache.hadoop.fs.statistics.MeanStatistic getMeanStatistic(String key)
getMeanStatistic in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStorepublic void addTimedOperation(String prefix, long durationMillis)
addTimedOperation in interface org.apache.hadoop.fs.statistics.impl.IOStatisticsStoreCopyright © 2008–2022 Apache Software Foundation. All rights reserved.