Class TcpDiscoveryNodeFailedMessage
- java.lang.Object
-
- org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage
-
- org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractTraceableMessage
-
- org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryNodeFailedMessage
-
- All Implemented Interfaces:
Serializable,TraceableMessage
@TcpDiscoveryEnsureDelivery @TcpDiscoveryRedirectToClient public class TcpDiscoveryNodeFailedMessage extends TcpDiscoveryAbstractTraceableMessage
Sent by node that has detected node failure to coordinator across the ring, then sent by coordinator across the ring.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage
CHANGE_TOPOLOGY_FLAG_POS, CLIENT_ACK_FLAG_POS, CLIENT_FLAG_POS, CLIENT_RECON_SUCCESS_FLAG_POS, FORCE_FAIL_FLAG_POS, RESPONDED_FLAG_POS
-
-
Constructor Summary
Constructors Constructor Description TcpDiscoveryNodeFailedMessage(UUID creatorNodeId, UUID failedNodeId, long internalOrder)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDfailedNodeId()Gets ID of the failed node.longinternalOrder()StringtoString()@Nullable Stringwarning()voidwarning(String warning)-
Methods inherited from class org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractTraceableMessage
readResolve, spanContainer
-
Methods inherited from class org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage
addFailedNode, client, client, creatorNodeId, equals, failedNodes, failedNodes, force, force, getFlag, hashCode, highPriority, id, pendingIndex, pendingIndex, senderNodeId, senderNodeId, setFlag, topologyVersion, topologyVersion, traceLogLevel, verified, verifierNodeId, verify
-
-
-
-
Method Detail
-
warning
public void warning(String warning)
- Parameters:
warning- Warning message to be shown on all nodes.
-
warning
@Nullable public @Nullable String warning()
- Returns:
- Warning message to be shown on all nodes.
-
failedNodeId
public UUID failedNodeId()
Gets ID of the failed node.- Returns:
- ID of the failed node.
-
internalOrder
public long internalOrder()
- Returns:
- Internal order of the failed node.
-
toString
public String toString()
- Overrides:
toStringin classTcpDiscoveryAbstractMessage
-
-