org.apache.hadoop.yarn.server.api.protocolrecords

## Class NodeHeartbeatResponse

- java.lang.Object
- - org.apache.hadoop.yarn.server.api.protocolrecords.NodeHeartbeatResponse

- Direct Known Subclasses:
    NodeHeartbeatResponsePBImpl

      public abstract class NodeHeartbeatResponse
      extends Object

  Node Manager's heartbeat response.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NodeHeartbeatResponse()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applications)`
    `abstract void` | `addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)`
    `abstract void` | `addAllContainersToDecrease(Collection<org.apache.hadoop.yarn.api.records.Container> containersToDecrease)`
    `abstract void` | `addAllContainersToSignal(List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> containers)`
    `abstract void` | `addAllContainersToUpdate(Collection<org.apache.hadoop.yarn.api.records.Container> containersToUpdate)`
    `abstract void` | `addContainersToBeRemovedFromNM(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)`
    `abstract Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData>` | `getAppCollectors()`
    `abstract List<org.apache.hadoop.yarn.api.records.ApplicationId>` | `getApplicationsToCleanup()`
    `abstract boolean` | `getAreNodeAttributesAcceptedByRM()`
    `abstract boolean` | `getAreNodeLabelsAcceptedByRM()`
    `abstract ContainerQueuingLimit` | `getContainerQueuingLimit()`
    `abstract List<org.apache.hadoop.yarn.api.records.ContainerId>` | `getContainersToBeRemovedFromNM()`
    `abstract List<org.apache.hadoop.yarn.api.records.ContainerId>` | `getContainersToCleanup()`
    `abstract List<org.apache.hadoop.yarn.api.records.Container>` | `getContainersToDecrease()`
    `abstract List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest>` | `getContainersToSignalList()`
    `abstract List<org.apache.hadoop.yarn.api.records.Container>` | `getContainersToUpdate()`
    `abstract MasterKey` | `getContainerTokenMasterKey()`
    `abstract String` | `getDiagnosticsMessage()`
    `abstract long` | `getNextHeartBeatInterval()`
    `abstract MasterKey` | `getNMTokenMasterKey()`
    `abstract NodeAction` | `getNodeAction()`
    `abstract org.apache.hadoop.yarn.api.records.Resource` | `getResource()`
    `abstract int` | `getResponseId()`
    `abstract Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer>` | `getSystemCredentialsForApps()`
    `abstract void` | `setAppCollectors(Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> appCollectorsMap)`
    `abstract void` | `setAreNodeAttributesAcceptedByRM(boolean areNodeAttributesAcceptedByRM)`
    `abstract void` | `setAreNodeLabelsAcceptedByRM(boolean areNodeLabelsAcceptedByRM)`
    `abstract void` | `setContainerQueuingLimit(ContainerQueuingLimit containerQueuingLimit)`
    `abstract void` | `setContainerTokenMasterKey(MasterKey secretKey)`
    `abstract void` | `setDiagnosticsMessage(String diagnosticsMessage)`
    `abstract void` | `setNextHeartBeatInterval(long nextHeartBeatInterval)`
    `abstract void` | `setNMTokenMasterKey(MasterKey secretKey)`
    `abstract void` | `setNodeAction(NodeAction action)`
    `abstract void` | `setResource(org.apache.hadoop.yarn.api.records.Resource resource)`
    `abstract void` | `setResponseId(int responseId)`
    `abstract void` | `setSystemCredentialsForApps(Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> systemCredentials)`

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

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

- - ### Constructor Detail

    - #### NodeHeartbeatResponse

          public NodeHeartbeatResponse()

  - ### Method Detail

    - #### getResponseId

          public abstract int getResponseId()

    - #### getNodeAction

          public abstract NodeAction getNodeAction()

    - #### getContainersToCleanup

          public abstract List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanup()

    - #### getContainersToBeRemovedFromNM

          public abstract List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToBeRemovedFromNM()

    - #### getApplicationsToCleanup

          public abstract List<org.apache.hadoop.yarn.api.records.ApplicationId> getApplicationsToCleanup()

    - #### getAppCollectors

          public abstract Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> getAppCollectors()

    - #### setAppCollectors

          public abstract void setAppCollectors(Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> appCollectorsMap)

    - #### setResponseId

          public abstract void setResponseId(int responseId)

    - #### setNodeAction

          public abstract void setNodeAction(NodeAction action)

    - #### getContainerTokenMasterKey

          public abstract MasterKey getContainerTokenMasterKey()

    - #### setContainerTokenMasterKey

          public abstract void setContainerTokenMasterKey(MasterKey secretKey)

    - #### getNMTokenMasterKey

          public abstract MasterKey getNMTokenMasterKey()

    - #### setNMTokenMasterKey

          public abstract void setNMTokenMasterKey(MasterKey secretKey)

    - #### addAllContainersToCleanup

          public abstract void addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)

    - #### addContainersToBeRemovedFromNM

          public abstract void addContainersToBeRemovedFromNM(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)

    - #### addAllApplicationsToCleanup

          public abstract void addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applications)

    - #### getContainersToSignalList

          public abstract List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> getContainersToSignalList()

    - #### addAllContainersToSignal

          public abstract void addAllContainersToSignal(List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> containers)

    - #### getNextHeartBeatInterval

          public abstract long getNextHeartBeatInterval()

    - #### setNextHeartBeatInterval

          public abstract void setNextHeartBeatInterval(long nextHeartBeatInterval)

    - #### getDiagnosticsMessage

          public abstract String getDiagnosticsMessage()

    - #### setDiagnosticsMessage

          public abstract void setDiagnosticsMessage(String diagnosticsMessage)

    - #### getSystemCredentialsForApps

          public abstract Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> getSystemCredentialsForApps()

    - #### setSystemCredentialsForApps

          public abstract void setSystemCredentialsForApps(Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> systemCredentials)

    - #### getAreNodeLabelsAcceptedByRM

          public abstract boolean getAreNodeLabelsAcceptedByRM()

    - #### setAreNodeLabelsAcceptedByRM

          public abstract void setAreNodeLabelsAcceptedByRM(boolean areNodeLabelsAcceptedByRM)

    - #### getResource

          public abstract org.apache.hadoop.yarn.api.records.Resource getResource()

    - #### setResource

          public abstract void setResource(org.apache.hadoop.yarn.api.records.Resource resource)

    - #### getContainersToUpdate

          public abstract List<org.apache.hadoop.yarn.api.records.Container> getContainersToUpdate()

    - #### addAllContainersToUpdate

          public abstract void addAllContainersToUpdate(Collection<org.apache.hadoop.yarn.api.records.Container> containersToUpdate)

    - #### getContainerQueuingLimit

          public abstract ContainerQueuingLimit getContainerQueuingLimit()

    - #### setContainerQueuingLimit

          public abstract void setContainerQueuingLimit(ContainerQueuingLimit containerQueuingLimit)

    - #### getContainersToDecrease

          public abstract List<org.apache.hadoop.yarn.api.records.Container> getContainersToDecrease()

    - #### addAllContainersToDecrease

          public abstract void addAllContainersToDecrease(Collection<org.apache.hadoop.yarn.api.records.Container> containersToDecrease)

    - #### getAreNodeAttributesAcceptedByRM

          public abstract boolean getAreNodeAttributesAcceptedByRM()

    - #### setAreNodeAttributesAcceptedByRM

          public abstract void setAreNodeAttributesAcceptedByRM(boolean areNodeAttributesAcceptedByRM)

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.