org.apache.hadoop.yarn.server.api.records.impl.pb
Class HeartbeatResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.HeartbeatResponseProto>
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
| Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
HeartbeatResponsePBImpl
public HeartbeatResponsePBImpl()
HeartbeatResponsePBImpl
public HeartbeatResponsePBImpl(YarnServerCommonProtos.HeartbeatResponseProto proto)
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.