@InterfaceAudience.Public public abstract class StorageStatistics extends Object
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<org.apache.hadoop.fs.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<org.apache.hadoop.fs.StorageStatistics.LongStatistic> getLongStatistics()
public abstract Long getLong(String key)
public abstract boolean isTracked(String key)
public abstract void reset()
Copyright © 2019 Apache Software Foundation. All rights reserved.