|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics
public class NameNodeStatistics
This is the implementation of the Name Node JMX MBean
| Constructor Summary | |
|---|---|
NameNodeStatistics(NameNodeMetrics nameNodeMetrics)
This constructs and registers the NameNodeStatisticsMBean |
|
| Method Summary | |
|---|---|
long |
getBlockReportAverageTime()
Average time for Block Report Processing in last interval |
long |
getBlockReportMaxTime()
The Maximum Block Report Processing Time since reset was called |
long |
getBlockReportMinTime()
The Minimum Block Report Processing Time since reset was called |
int |
getBlockReportNum()
Number of block Reports processed in the last interval |
int |
getFSImageLoadTime()
Time spent loading the FS Image at startup |
long |
getJournalSyncAverageTime()
Average time for Journal Sync in last interval |
long |
getJournalSyncMaxTime()
The Maximum Journal Sync Time since reset was called |
long |
getJournalSyncMinTime()
The Minimum Journal Sync Time since reset was called |
int |
getJournalSyncNum()
Number of Journal Syncs in the last interval |
long |
getJournalTransactionAverageTime()
Average time for Journal transactions in last interval |
long |
getJournalTransactionMaxTime()
The Maximum Journal Transaction Time since reset was called |
long |
getJournalTransactionMinTime()
The Minimum Journal Transaction Time since reset was called |
int |
getJournalTransactionNum()
Number of Journal Transactions in the last interval |
int |
getNumAddBlockOps()
Number of add block operations in the last interval |
int |
getNumCreateFileOps()
Number of file creation operations in the last interval |
int |
getNumDeleteFileOps()
Number of file deletion operations in the last interval |
int |
getNumFilesCreated()
Number of files created in the last interval |
int |
getNumFilesListed()
Deprecated. call getNumGetListingOps() instead |
int |
getNumFilesRenamed()
Number of files renamed in the last interval |
int |
getNumGetBlockLocations()
Number of NameNode.getBlockLocations(String,long,long) |
int |
getNumGetListingOps()
Number of files listed in the last interval |
int |
getSafemodeTime()
The time spent in the Safemode at startup |
void |
resetAllMinMax()
Reset all min max times |
void |
shutdown()
Shuts down the statistics - unregisters the mbean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameNodeStatistics(NameNodeMetrics nameNodeMetrics)
nameNodeMetrics - - the metrics from which the mbean gets its info| Method Detail |
|---|
public void shutdown()
public long getBlockReportAverageTime()
NameNodeStatisticsMBean
getBlockReportAverageTime in interface NameNodeStatisticsMBeanpublic long getBlockReportMaxTime()
NameNodeStatisticsMBean
getBlockReportMaxTime in interface NameNodeStatisticsMBeanpublic long getBlockReportMinTime()
NameNodeStatisticsMBean
getBlockReportMinTime in interface NameNodeStatisticsMBeanpublic int getBlockReportNum()
NameNodeStatisticsMBean
getBlockReportNum in interface NameNodeStatisticsMBeanpublic long getJournalTransactionAverageTime()
NameNodeStatisticsMBean
getJournalTransactionAverageTime in interface NameNodeStatisticsMBeanpublic int getJournalTransactionNum()
NameNodeStatisticsMBean
getJournalTransactionNum in interface NameNodeStatisticsMBeanpublic long getJournalTransactionMaxTime()
NameNodeStatisticsMBean
getJournalTransactionMaxTime in interface NameNodeStatisticsMBeanpublic long getJournalTransactionMinTime()
NameNodeStatisticsMBean
getJournalTransactionMinTime in interface NameNodeStatisticsMBeanpublic long getJournalSyncAverageTime()
NameNodeStatisticsMBean
getJournalSyncAverageTime in interface NameNodeStatisticsMBeanpublic long getJournalSyncMaxTime()
NameNodeStatisticsMBean
getJournalSyncMaxTime in interface NameNodeStatisticsMBeanpublic long getJournalSyncMinTime()
NameNodeStatisticsMBean
getJournalSyncMinTime in interface NameNodeStatisticsMBeanpublic int getJournalSyncNum()
NameNodeStatisticsMBean
getJournalSyncNum in interface NameNodeStatisticsMBeanpublic int getSafemodeTime()
NameNodeStatisticsMBean
getSafemodeTime in interface NameNodeStatisticsMBeanpublic int getFSImageLoadTime()
NameNodeStatisticsMBean
getFSImageLoadTime in interface NameNodeStatisticsMBeanpublic void resetAllMinMax()
NameNodeStatisticsMBean
resetAllMinMax in interface NameNodeStatisticsMBeanpublic int getNumFilesCreated()
NameNodeStatisticsMBean
getNumFilesCreated in interface NameNodeStatisticsMBean@Deprecated public int getNumFilesListed()
NameNodeStatisticsMBean
getNumFilesListed in interface NameNodeStatisticsMBeanpublic int getNumGetListingOps()
NameNodeStatisticsMBean
getNumGetListingOps in interface NameNodeStatisticsMBeanpublic int getNumCreateFileOps()
NameNodeStatisticsMBean
getNumCreateFileOps in interface NameNodeStatisticsMBeanpublic int getNumDeleteFileOps()
NameNodeStatisticsMBean
getNumDeleteFileOps in interface NameNodeStatisticsMBeanpublic int getNumAddBlockOps()
NameNodeStatisticsMBean
getNumAddBlockOps in interface NameNodeStatisticsMBeanpublic int getNumGetBlockLocations()
NameNodeStatisticsMBeanNameNode.getBlockLocations(String,long,long)
getNumGetBlockLocations in interface NameNodeStatisticsMBeanpublic int getNumFilesRenamed()
NameNodeStatisticsMBean
getNumFilesRenamed in interface NameNodeStatisticsMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||