@InterfaceAudience.Private
@InterfaceStability.Unstable
public class GhfsStorageStatistics
extends org.apache.hadoop.fs.StorageStatistics
| Modifier and Type | Field and Description |
|---|---|
static int |
LATENCY_LOGGING_THRESHOLD_MS |
static String |
NAME
"GhfsStorageStatistics" The key that stores all the registered metrics
|
| Constructor and Description |
|---|
GhfsStorageStatistics() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTotalTimeStatistic(String statistic) |
Long |
getLong(String key) |
Iterator<org.apache.hadoop.fs.StorageStatistics.LongStatistic> |
getLongStatistics() |
Long |
getMax(String symbol)
To get the maximum value which is stored with MAXIMUM extension
|
double |
getMean(String key)
To get the mean value which is stored with MEAN extension
|
Long |
getMin(String symbol)
To get the minimum value which is stored with MINIMUM extension
|
boolean |
isTracked(String key) |
void |
reset() |
String |
toString() |
public static final String NAME
public static final int LATENCY_LOGGING_THRESHOLD_MS
public void reset()
reset in class org.apache.hadoop.fs.StorageStatisticsprotected void addTotalTimeStatistic(String statistic)
public Iterator<org.apache.hadoop.fs.StorageStatistics.LongStatistic> getLongStatistics()
getLongStatistics in class org.apache.hadoop.fs.StorageStatisticspublic Long getLong(String key)
getLong in class org.apache.hadoop.fs.StorageStatisticspublic boolean isTracked(String key)
isTracked in class org.apache.hadoop.fs.StorageStatisticspublic Long getMin(String symbol)
symbol - public Long getMax(String symbol)
symbol - public double getMean(String key)
key - Copyright © 2024. All rights reserved.