public class TaskNodeStatusImpl extends Object implements TaskNodeStatus
| Constructor and Description |
|---|
TaskNodeStatusImpl(Class<? extends Name<String>> groupName,
Class<? extends Name<String>> operName,
String taskId,
TaskNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearStateAndReleaseLocks()
Used when the task has failed to clear all.
|
void |
expectAckFor(ReefNetworkGroupCommProtos.GroupCommMessage.Type msgType,
String srcId)
This needs to happen in line rather than in a stage because we need to note.
|
boolean |
hasChanges() |
boolean |
isActive(String neighborId) |
void |
onTopologySetupMessageSent() |
void |
processAcknowledgement(GroupCommunicationMessage gcm)
Process the msg that was received and update.
|
void |
updateFailureOf(String failTaskId)
This should remove state concerning neighboring tasks.
|
void |
updatingTopology()
Called to denote that a UpdateTopology msg will.
|
void |
waitForTopologySetup() |
public void onTopologySetupMessageSent()
onTopologySetupMessageSent in interface TaskNodeStatuspublic boolean isActive(String neighborId)
isActive in interface TaskNodeStatuspublic void expectAckFor(ReefNetworkGroupCommProtos.GroupCommMessage.Type msgType, String srcId)
expectAckFor in interface TaskNodeStatuspublic void clearStateAndReleaseLocks()
TaskNodeStatusclearStateAndReleaseLocks in interface TaskNodeStatuspublic void updateFailureOf(String failTaskId)
TaskNodeStatusupdateFailureOf in interface TaskNodeStatuspublic void processAcknowledgement(GroupCommunicationMessage gcm)
TaskNodeStatusprocessAcknowledgement in interface TaskNodeStatuspublic void updatingTopology()
TaskNodeStatusupdatingTopology in interface TaskNodeStatuspublic boolean hasChanges()
hasChanges in interface TaskNodeStatuspublic void waitForTopologySetup()
waitForTopologySetup in interface TaskNodeStatusCopyright © 2017 The Apache Software Foundation. All rights reserved.