java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.RMInfo
All Implemented Interfaces:
RMInfoMXBean

public class RMInfo extends Object implements RMInfoMXBean
JMX bean for RM info.
  • Method Details

    • register

      public void register()
    • unregister

      public void unregister()
    • getState

      public String getState()
      Description copied from interface: RMInfoMXBean
      Gets the ResourceManager state.
      Specified by:
      getState in interface RMInfoMXBean
      Returns:
      the ResourceManager state.
    • getHostAndPort

      public String getHostAndPort()
      Description copied from interface: RMInfoMXBean
      Gets the host and port colon separated.
      Specified by:
      getHostAndPort in interface RMInfoMXBean
      Returns:
      host and port colon separated.
    • isSecurityEnabled

      public boolean isSecurityEnabled()
      Description copied from interface: RMInfoMXBean
      Gets if security is enabled.
      Specified by:
      isSecurityEnabled in interface RMInfoMXBean
      Returns:
      true, if security is enabled.