public interface NodeHeartbeatResponse
Modifier and Type | Method and Description |
---|---|
void |
addAllApplicationsToCleanup(List<ApplicationId> applications) |
void |
addAllContainersToCleanup(List<ContainerId> containers) |
List<ApplicationId> |
getApplicationsToCleanup() |
List<ContainerId> |
getContainersToCleanup() |
MasterKey |
getContainerTokenMasterKey() |
String |
getDiagnosticsMessage() |
long |
getNextHeartBeatInterval() |
MasterKey |
getNMTokenMasterKey() |
NodeAction |
getNodeAction() |
int |
getResponseId() |
void |
setContainerTokenMasterKey(MasterKey secretKey) |
void |
setDiagnosticsMessage(String diagnosticsMessage) |
void |
setNextHeartBeatInterval(long nextHeartBeatInterval) |
void |
setNMTokenMasterKey(MasterKey secretKey) |
void |
setNodeAction(NodeAction action) |
void |
setResponseId(int responseId) |
int getResponseId()
NodeAction getNodeAction()
List<ContainerId> getContainersToCleanup()
List<ApplicationId> getApplicationsToCleanup()
void setResponseId(int responseId)
void setNodeAction(NodeAction action)
MasterKey getContainerTokenMasterKey()
void setContainerTokenMasterKey(MasterKey secretKey)
MasterKey getNMTokenMasterKey()
void setNMTokenMasterKey(MasterKey secretKey)
void addAllContainersToCleanup(List<ContainerId> containers)
void addAllApplicationsToCleanup(List<ApplicationId> applications)
long getNextHeartBeatInterval()
void setNextHeartBeatInterval(long nextHeartBeatInterval)
String getDiagnosticsMessage()
void setDiagnosticsMessage(String diagnosticsMessage)
Copyright © 2013 Apache Software Foundation. All rights reserved.