|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 infoMethod Detail |
---|
public void shutdown()
public long getBlockReportAverageTime()
NameNodeStatisticsMBean
getBlockReportAverageTime
in interface NameNodeStatisticsMBean
public long getBlockReportMaxTime()
NameNodeStatisticsMBean
getBlockReportMaxTime
in interface NameNodeStatisticsMBean
public long getBlockReportMinTime()
NameNodeStatisticsMBean
getBlockReportMinTime
in interface NameNodeStatisticsMBean
public int getBlockReportNum()
NameNodeStatisticsMBean
getBlockReportNum
in interface NameNodeStatisticsMBean
public long getJournalTransactionAverageTime()
NameNodeStatisticsMBean
getJournalTransactionAverageTime
in interface NameNodeStatisticsMBean
public int getJournalTransactionNum()
NameNodeStatisticsMBean
getJournalTransactionNum
in interface NameNodeStatisticsMBean
public long getJournalTransactionMaxTime()
NameNodeStatisticsMBean
getJournalTransactionMaxTime
in interface NameNodeStatisticsMBean
public long getJournalTransactionMinTime()
NameNodeStatisticsMBean
getJournalTransactionMinTime
in interface NameNodeStatisticsMBean
public long getJournalSyncAverageTime()
NameNodeStatisticsMBean
getJournalSyncAverageTime
in interface NameNodeStatisticsMBean
public long getJournalSyncMaxTime()
NameNodeStatisticsMBean
getJournalSyncMaxTime
in interface NameNodeStatisticsMBean
public long getJournalSyncMinTime()
NameNodeStatisticsMBean
getJournalSyncMinTime
in interface NameNodeStatisticsMBean
public int getJournalSyncNum()
NameNodeStatisticsMBean
getJournalSyncNum
in interface NameNodeStatisticsMBean
public int getSafemodeTime()
NameNodeStatisticsMBean
getSafemodeTime
in interface NameNodeStatisticsMBean
public int getFSImageLoadTime()
NameNodeStatisticsMBean
getFSImageLoadTime
in interface NameNodeStatisticsMBean
public void resetAllMinMax()
NameNodeStatisticsMBean
resetAllMinMax
in interface NameNodeStatisticsMBean
public int getNumFilesCreated()
NameNodeStatisticsMBean
getNumFilesCreated
in interface NameNodeStatisticsMBean
@Deprecated public int getNumFilesListed()
NameNodeStatisticsMBean
getNumFilesListed
in interface NameNodeStatisticsMBean
public int getNumGetListingOps()
NameNodeStatisticsMBean
getNumGetListingOps
in interface NameNodeStatisticsMBean
public int getNumCreateFileOps()
NameNodeStatisticsMBean
getNumCreateFileOps
in interface NameNodeStatisticsMBean
public int getNumDeleteFileOps()
NameNodeStatisticsMBean
getNumDeleteFileOps
in interface NameNodeStatisticsMBean
public int getNumAddBlockOps()
NameNodeStatisticsMBean
getNumAddBlockOps
in interface NameNodeStatisticsMBean
public int getNumGetBlockLocations()
NameNodeStatisticsMBean
NameNode.getBlockLocations(String,long,long)
getNumGetBlockLocations
in interface NameNodeStatisticsMBean
public int getNumFilesRenamed()
NameNodeStatisticsMBean
getNumFilesRenamed
in interface NameNodeStatisticsMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |