public interface FSDatasetMBean
Data Node runtime statistic info is report in another MBean
org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeStatisticsMBean
限定符和类型 | 方法和说明 |
---|---|
long |
getCapacity()
Returns total capacity (in bytes) of storage (used and unused)
|
long |
getDfsUsed()
Returns the total space (in bytes) used by dfs datanode
|
long |
getRemaining()
Returns the amount of free storage space (in bytes)
|
String |
getStorageInfo()
Returns the storage id of the underlying storage
|
long getDfsUsed() throws IOException
IOException
long getCapacity() throws IOException
IOException
long getRemaining() throws IOException
IOException
String getStorageInfo()
Copyright © 2009 The Apache Software Foundation