Class TcpDiscoveryConnectionCheckMessage
- java.lang.Object
-
- org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage
-
- org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryConnectionCheckMessage
-
- All Implemented Interfaces:
Externalizable,Serializable
public class TcpDiscoveryConnectionCheckMessage extends TcpDiscoveryAbstractMessage implements Externalizable
Message used to check whether a node is still connected to the topology. The difference fromTcpDiscoveryStatusCheckMessageis that this message is sent to the next node which directly replies to the sender without message re-translation to the coordinator.- 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 TcpDiscoveryConnectionCheckMessage()Default no-arg constructor forExternalizableinterface.TcpDiscoveryConnectionCheckMessage(TcpDiscoveryNode creatorNode)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(ObjectInput in)StringtoString()booleantraceLogLevel()voidwriteExternal(ObjectOutput out)-
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, verified, verifierNodeId, verify
-
-
-
-
Constructor Detail
-
TcpDiscoveryConnectionCheckMessage
public TcpDiscoveryConnectionCheckMessage()
Default no-arg constructor forExternalizableinterface.
-
TcpDiscoveryConnectionCheckMessage
public TcpDiscoveryConnectionCheckMessage(TcpDiscoveryNode creatorNode)
Constructor.- Parameters:
creatorNode- Node created this message.
-
-
Method Detail
-
traceLogLevel
public boolean traceLogLevel()
- Overrides:
traceLogLevelin classTcpDiscoveryAbstractMessage- Returns:
Trueif need use trace logging for this message (to reduce amount of logging with debug level).
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
toString
public String toString()
- Overrides:
toStringin classTcpDiscoveryAbstractMessage
-
-