org.apache.hadoop.yarn.server.api.records.impl.pb
Class HeartbeatResponsePBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.HeartbeatResponseProto>
      extended by org.apache.hadoop.yarn.server.api.records.impl.pb.HeartbeatResponsePBImpl
All Implemented Interfaces:
HeartbeatResponse

public class HeartbeatResponsePBImpl
extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.HeartbeatResponseProto>
implements HeartbeatResponse


Constructor Summary
HeartbeatResponsePBImpl()
           
HeartbeatResponsePBImpl(YarnServerCommonProtos.HeartbeatResponseProto proto)
           
 
Method Summary
 void addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applicationsToCleanup)
           
 void addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containersToCleanup)
           
 void addApplicationToCleanup(org.apache.hadoop.yarn.api.records.ApplicationId applicationsToCleanup)
           
 void addContainerToCleanup(org.apache.hadoop.yarn.api.records.ContainerId containersToCleanup)
           
 void clearApplicationsToCleanup()
           
 void clearContainersToCleanup()
           
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationsToCleanup(int index)
           
 int getApplicationsToCleanupCount()
           
 List<org.apache.hadoop.yarn.api.records.ApplicationId> getApplicationsToCleanupList()
           
 int getContainersToCleanupCount()
           
 List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanupList()
           
 org.apache.hadoop.yarn.api.records.ContainerId getContainerToCleanup(int index)
           
 MasterKey getMasterKey()
           
 NodeAction getNodeAction()
           
 YarnServerCommonProtos.HeartbeatResponseProto getProto()
           
 int getResponseId()
           
 void removeApplicationToCleanup(int index)
           
 void removeContainerToCleanup(int index)
           
 void setMasterKey(MasterKey masterKey)
           
 void setNodeAction(NodeAction nodeAction)
           
 void setResponseId(int responseId)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HeartbeatResponsePBImpl

public HeartbeatResponsePBImpl()

HeartbeatResponsePBImpl

public HeartbeatResponsePBImpl(YarnServerCommonProtos.HeartbeatResponseProto proto)
Method Detail

getProto

public YarnServerCommonProtos.HeartbeatResponseProto getProto()
Specified by:
getProto in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.HeartbeatResponseProto>

getResponseId

public int getResponseId()
Specified by:
getResponseId in interface HeartbeatResponse

setResponseId

public void setResponseId(int responseId)
Specified by:
setResponseId in interface HeartbeatResponse

getMasterKey

public MasterKey getMasterKey()
Specified by:
getMasterKey in interface HeartbeatResponse

setMasterKey

public void setMasterKey(MasterKey masterKey)
Specified by:
setMasterKey in interface HeartbeatResponse

getNodeAction

public NodeAction getNodeAction()
Specified by:
getNodeAction in interface HeartbeatResponse

setNodeAction

public void setNodeAction(NodeAction nodeAction)
Specified by:
setNodeAction in interface HeartbeatResponse

getContainersToCleanupList

public List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanupList()
Specified by:
getContainersToCleanupList in interface HeartbeatResponse

getContainerToCleanup

public org.apache.hadoop.yarn.api.records.ContainerId getContainerToCleanup(int index)
Specified by:
getContainerToCleanup in interface HeartbeatResponse

getContainersToCleanupCount

public int getContainersToCleanupCount()
Specified by:
getContainersToCleanupCount in interface HeartbeatResponse

addAllContainersToCleanup

public void addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containersToCleanup)
Specified by:
addAllContainersToCleanup in interface HeartbeatResponse

addContainerToCleanup

public void addContainerToCleanup(org.apache.hadoop.yarn.api.records.ContainerId containersToCleanup)
Specified by:
addContainerToCleanup in interface HeartbeatResponse

removeContainerToCleanup

public void removeContainerToCleanup(int index)
Specified by:
removeContainerToCleanup in interface HeartbeatResponse

clearContainersToCleanup

public void clearContainersToCleanup()
Specified by:
clearContainersToCleanup in interface HeartbeatResponse

getApplicationsToCleanupList

public List<org.apache.hadoop.yarn.api.records.ApplicationId> getApplicationsToCleanupList()
Specified by:
getApplicationsToCleanupList in interface HeartbeatResponse

getApplicationsToCleanup

public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationsToCleanup(int index)
Specified by:
getApplicationsToCleanup in interface HeartbeatResponse

getApplicationsToCleanupCount

public int getApplicationsToCleanupCount()
Specified by:
getApplicationsToCleanupCount in interface HeartbeatResponse

addAllApplicationsToCleanup

public void addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applicationsToCleanup)
Specified by:
addAllApplicationsToCleanup in interface HeartbeatResponse

addApplicationToCleanup

public void addApplicationToCleanup(org.apache.hadoop.yarn.api.records.ApplicationId applicationsToCleanup)
Specified by:
addApplicationToCleanup in interface HeartbeatResponse

removeApplicationToCleanup

public void removeApplicationToCleanup(int index)
Specified by:
removeApplicationToCleanup in interface HeartbeatResponse

clearApplicationsToCleanup

public void clearApplicationsToCleanup()
Specified by:
clearApplicationsToCleanup in interface HeartbeatResponse


Copyright © 2013 Apache Software Foundation. All Rights Reserved.