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
IOExceptionlong getCapacity()
throws IOException
IOExceptionlong getRemaining()
throws IOException
IOExceptionString getStorageInfo()
Copyright © 2009 The Apache Software Foundation