|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private public interface FSDatasetMBean
This Interface defines the methods to get the status of a the FSDataset of a data node. It is also used for publishing via JMX (hence we follow the JMX naming convention.) * Note we have not used the MetricsDynamicMBeanBase to implement this because the interface for the FSDatasetMBean is stable and should be published as an interface.
Data Node runtime statistic info is report in another MBean
DataNodeStatisticsMBean
Method Summary | |
---|---|
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 |
Method Detail |
---|
long getDfsUsed() throws IOException
IOException
long getCapacity() throws IOException
IOException
long getRemaining() throws IOException
IOException
String getStorageInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |