Class TopConf
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.top.TopConf
This class is a common place for NNTop configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA meta command representing the total number of calls to all commandsfinal booleanWhether TopMetrics are enabledfinal int[]nntop reporting periods in milliseconds -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isEnabled
public final boolean isEnabledWhether TopMetrics are enabled -
ALL_CMDS
A meta command representing the total number of calls to all commands- See Also:
-
nntopReportingPeriodsMs
public final int[] nntopReportingPeriodsMsnntop reporting periods in milliseconds
-
-
Constructor Details
-
TopConf
public TopConf(org.apache.hadoop.conf.Configuration conf)
-