public class NodeHeartbeatResponsePBImpl extends ProtoBase<YarnServerCommonServiceProtos.NodeHeartbeatResponseProto> implements NodeHeartbeatResponse
Constructor and Description |
---|
NodeHeartbeatResponsePBImpl() |
NodeHeartbeatResponsePBImpl(YarnServerCommonServiceProtos.NodeHeartbeatResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
void |
addAllApplicationsToCleanup(List<ApplicationId> applicationsToCleanup) |
void |
addAllContainersToCleanup(List<ContainerId> containersToCleanup) |
List<ApplicationId> |
getApplicationsToCleanup() |
List<ContainerId> |
getContainersToCleanup() |
MasterKey |
getContainerTokenMasterKey() |
String |
getDiagnosticsMessage() |
long |
getNextHeartBeatInterval() |
MasterKey |
getNMTokenMasterKey() |
NodeAction |
getNodeAction() |
YarnServerCommonServiceProtos.NodeHeartbeatResponseProto |
getProto() |
int |
getResponseId() |
void |
setContainerTokenMasterKey(MasterKey masterKey) |
void |
setDiagnosticsMessage(String diagnosticsMessage) |
void |
setNextHeartBeatInterval(long nextHeartBeatInterval) |
void |
setNMTokenMasterKey(MasterKey masterKey) |
void |
setNodeAction(NodeAction nodeAction) |
void |
setResponseId(int responseId) |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
public NodeHeartbeatResponsePBImpl()
public NodeHeartbeatResponsePBImpl(YarnServerCommonServiceProtos.NodeHeartbeatResponseProto proto)
public YarnServerCommonServiceProtos.NodeHeartbeatResponseProto getProto()
getProto
in class ProtoBase<YarnServerCommonServiceProtos.NodeHeartbeatResponseProto>
public int getResponseId()
getResponseId
in interface NodeHeartbeatResponse
public void setResponseId(int responseId)
setResponseId
in interface NodeHeartbeatResponse
public MasterKey getContainerTokenMasterKey()
getContainerTokenMasterKey
in interface NodeHeartbeatResponse
public void setContainerTokenMasterKey(MasterKey masterKey)
setContainerTokenMasterKey
in interface NodeHeartbeatResponse
public MasterKey getNMTokenMasterKey()
getNMTokenMasterKey
in interface NodeHeartbeatResponse
public void setNMTokenMasterKey(MasterKey masterKey)
setNMTokenMasterKey
in interface NodeHeartbeatResponse
public NodeAction getNodeAction()
getNodeAction
in interface NodeHeartbeatResponse
public void setNodeAction(NodeAction nodeAction)
setNodeAction
in interface NodeHeartbeatResponse
public String getDiagnosticsMessage()
getDiagnosticsMessage
in interface NodeHeartbeatResponse
public void setDiagnosticsMessage(String diagnosticsMessage)
setDiagnosticsMessage
in interface NodeHeartbeatResponse
public List<ContainerId> getContainersToCleanup()
getContainersToCleanup
in interface NodeHeartbeatResponse
public void addAllContainersToCleanup(List<ContainerId> containersToCleanup)
addAllContainersToCleanup
in interface NodeHeartbeatResponse
public List<ApplicationId> getApplicationsToCleanup()
getApplicationsToCleanup
in interface NodeHeartbeatResponse
public void addAllApplicationsToCleanup(List<ApplicationId> applicationsToCleanup)
addAllApplicationsToCleanup
in interface NodeHeartbeatResponse
public long getNextHeartBeatInterval()
getNextHeartBeatInterval
in interface NodeHeartbeatResponse
public void setNextHeartBeatInterval(long nextHeartBeatInterval)
setNextHeartBeatInterval
in interface NodeHeartbeatResponse
Copyright © 2013 Apache Software Foundation. All rights reserved.