@InterfaceAudience.Public public abstract class StorageStatistics extends Object
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
StorageStatistics.CommonStatisticNames
These are common statistic names. 
 | 
static class  | 
StorageStatistics.LongStatistic
A 64-bit storage statistic. 
 | 
| Constructor and Description | 
|---|
StorageStatistics(String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract Long | 
getLong(String key)
Get the value of a statistic. 
 | 
abstract Iterator<StorageStatistics.LongStatistic> | 
getLongStatistics()
Get an iterator over all the currently tracked long statistics. 
 | 
String | 
getName()
Get the name of this StorageStatistics object. 
 | 
String | 
getScheme()  | 
abstract boolean | 
isTracked(String key)
Return true if a statistic is being tracked. 
 | 
abstract void | 
reset()
Reset all the statistic data. 
 | 
public StorageStatistics(String name)
public String getName()
public String getScheme()
public abstract Iterator<StorageStatistics.LongStatistic> getLongStatistics()
public abstract Long getLong(String key)
public abstract boolean isTracked(String key)
public abstract void reset()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.