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

All Known Implementing Classes:
NodeHeartbeatResponsePBImpl

public interface NodeHeartbeatResponse


Method Summary
 void addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applications)
           
 void addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)
           
 void addContainersToBeRemovedFromNM(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)
           
 List<org.apache.hadoop.yarn.api.records.ApplicationId> getApplicationsToCleanup()
           
 List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToBeRemovedFromNM()
           
 List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanup()
           
 MasterKey getContainerTokenMasterKey()
           
 String getDiagnosticsMessage()
           
 long getNextHeartBeatInterval()
           
 MasterKey getNMTokenMasterKey()
           
 NodeAction getNodeAction()
           
 int getResponseId()
           
 Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> getSystemCredentialsForApps()
           
 void setContainerTokenMasterKey(MasterKey secretKey)
           
 void setDiagnosticsMessage(String diagnosticsMessage)
           
 void setNextHeartBeatInterval(long nextHeartBeatInterval)
           
 void setNMTokenMasterKey(MasterKey secretKey)
           
 void setNodeAction(NodeAction action)
           
 void setResponseId(int responseId)
           
 void setSystemCredentialsForApps(Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> systemCredentials)
           
 

Method Detail

getResponseId

int getResponseId()

getNodeAction

NodeAction getNodeAction()

getContainersToCleanup

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

getContainersToBeRemovedFromNM

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

getApplicationsToCleanup

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

setResponseId

void setResponseId(int responseId)

setNodeAction

void setNodeAction(NodeAction action)

getContainerTokenMasterKey

MasterKey getContainerTokenMasterKey()

setContainerTokenMasterKey

void setContainerTokenMasterKey(MasterKey secretKey)

getNMTokenMasterKey

MasterKey getNMTokenMasterKey()

setNMTokenMasterKey

void setNMTokenMasterKey(MasterKey secretKey)

addAllContainersToCleanup

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

addContainersToBeRemovedFromNM

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

addAllApplicationsToCleanup

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

getNextHeartBeatInterval

long getNextHeartBeatInterval()

setNextHeartBeatInterval

void setNextHeartBeatInterval(long nextHeartBeatInterval)

getDiagnosticsMessage

String getDiagnosticsMessage()

setDiagnosticsMessage

void setDiagnosticsMessage(String diagnosticsMessage)

getSystemCredentialsForApps

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

setSystemCredentialsForApps

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.