TopConf (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.namenode.top, class: TopConf

Package org.apache.hadoop.hdfs.server.namenode.top

# Class TopConf

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.top.TopConf

@Private public final class TopConf extends Object
This class is a common place for NNTop configuration.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `ALL_CMDS`
  A meta command representing the total number of calls to all commands
  `final boolean`
  `isEnabled`
  Whether TopMetrics are enabled
  `final int[]`
  `nntopReportingPeriodsMs`
  nntop reporting periods in milliseconds

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TopConf(org.apache.hadoop.conf.Configuration conf)`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### isEnabled

    public final boolean isEnabled
    Whether TopMetrics are enabled

  - ### ALL_CMDS

    public static final String ALL_CMDS
    A meta command representing the total number of calls to all commands
    See Also:
      - Constant Field Values

  - ### nntopReportingPeriodsMs

    public final int[] nntopReportingPeriodsMs
    nntop reporting periods in milliseconds

- ## Constructor Details

  - ### TopConf

    public TopConf(org.apache.hadoop.conf.Configuration conf)