@InterfaceAudience.Private @InterfaceStability.Evolving public class S3AStorageStatistics extends org.apache.hadoop.fs.StorageStatistics implements Iterable<org.apache.hadoop.fs.StorageStatistics.LongStatistic>
| Constructor and Description |
|---|
S3AStorageStatistics() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getLong(String key) |
Iterator<org.apache.hadoop.fs.StorageStatistics.LongStatistic> |
getLongStatistics() |
String |
getScheme() |
long |
incrementCounter(Statistic op,
long count)
Increment a specific counter.
|
boolean |
isTracked(String key) |
Iterator<org.apache.hadoop.fs.StorageStatistics.LongStatistic> |
iterator() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String NAME
public long incrementCounter(Statistic op, long count)
op - operationcount - increment valuepublic String getScheme()
getScheme in class org.apache.hadoop.fs.StorageStatisticspublic Iterator<org.apache.hadoop.fs.StorageStatistics.LongStatistic> getLongStatistics()
getLongStatistics in class org.apache.hadoop.fs.StorageStatisticspublic Iterator<org.apache.hadoop.fs.StorageStatistics.LongStatistic> iterator()
public Long getLong(String key)
getLong in class org.apache.hadoop.fs.StorageStatisticspublic boolean isTracked(String key)
isTracked in class org.apache.hadoop.fs.StorageStatisticspublic void reset()
reset in class org.apache.hadoop.fs.StorageStatisticsCopyright © 2008–2021 Apache Software Foundation. All rights reserved.