public class GridTcpDiscoveryStatusCheckMessage extends GridTcpDiscoveryAbstractMessage
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.
|
| Constructor and Description |
|---|
GridTcpDiscoveryStatusCheckMessage()
Public default no-arg constructor for
Externalizable interface. |
GridTcpDiscoveryStatusCheckMessage(GridTcpDiscoveryNode creatorNode,
UUID failedNodeId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridTcpDiscoveryNode |
creatorNode()
Gets creator node.
|
UUID |
failedNodeId()
Gets failed node id.
|
void |
readExternal(ObjectInput in) |
int |
status()
Gets creator status.
|
void |
status(int status)
Sets creator node status (should be set by coordinator).
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
creatorNodeId, equals, hashCode, id, senderNodeId, senderNodeId, topologyVersion, topologyVersion, verified, verifierNodeId, verifypublic static final int STATUS_OK
public static final int STATUS_RECON
public GridTcpDiscoveryStatusCheckMessage()
Externalizable interface.public GridTcpDiscoveryStatusCheckMessage(GridTcpDiscoveryNode creatorNode, UUID failedNodeId)
creatorNode - Creator node.failedNodeId - Failed node id.public GridTcpDiscoveryNode creatorNode()
public UUID failedNodeId()
public int status()
public void status(int status)
status - Creator node status.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class GridTcpDiscoveryAbstractMessageIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class GridTcpDiscoveryAbstractMessageIOExceptionClassNotFoundExceptionpublic String toString()
toString in class GridTcpDiscoveryAbstractMessageCopyright © 2014. All rights reserved.