public class TcpDiscoveryStatusCheckMessage extends TcpDiscoveryAbstractMessage
If a failed node id is specified then the message is sent across the ring up to the sender node to ensure that the failed node is actually failed.
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_OK
Status OK.
|
static int |
STATUS_RECON
Status RECONNECT.
|
CLIENT_ACK_FLAG_POS, CLIENT_FLAG_POS, CLIENT_RECON_SUCCESS_FLAG_POS, FORCE_FAIL_FLAG_POS, RESPONDED_FLAG_POS| Constructor and Description |
|---|
TcpDiscoveryStatusCheckMessage(TcpDiscoveryNode creatorNode,
UUID failedNodeId)
Constructor.
|
TcpDiscoveryStatusCheckMessage(TcpDiscoveryStatusCheckMessage msg) |
| Modifier and Type | Method and Description |
|---|---|
TcpDiscoveryNode |
creatorNode()
Gets creator node.
|
boolean |
equals(Object obj) |
UUID |
failedNodeId()
Gets failed node id.
|
int |
status()
Gets creator status.
|
void |
status(int status)
Sets creator node status (should be set by coordinator).
|
String |
toString() |
addFailedNode, client, client, creatorNodeId, failedNodes, failedNodes, force, force, getFlag, hashCode, highPriority, id, pendingIndex, pendingIndex, senderNodeId, senderNodeId, setFlag, topologyVersion, topologyVersion, traceLogLevel, verified, verifierNodeId, verifypublic static final int STATUS_OK
public static final int STATUS_RECON
public TcpDiscoveryStatusCheckMessage(TcpDiscoveryNode creatorNode, UUID failedNodeId)
creatorNode - Creator node.failedNodeId - Failed node id.public TcpDiscoveryStatusCheckMessage(TcpDiscoveryStatusCheckMessage msg)
msg - Message to copy.public TcpDiscoveryNode creatorNode()
public UUID failedNodeId()
public int status()
public void status(int status)
status - Creator node status.public boolean equals(Object obj)
equals in class TcpDiscoveryAbstractMessagepublic String toString()
toString in class TcpDiscoveryAbstractMessage
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017