Class TcpDiscoveryHandshakeRequest

    • Constructor Detail

      • TcpDiscoveryHandshakeRequest

        public TcpDiscoveryHandshakeRequest​(UUID creatorNodeId)
        Constructor.
        Parameters:
        creatorNodeId - Creator node ID.
    • Method Detail

      • changeTopology

        public boolean changeTopology()
        Gets topology change flag.
        True means node intent to fail nodes in a ring.
        Returns:
        Change topology flag.
      • checkPreviousNodeId

        public UUID checkPreviousNodeId()
        Gets expected previous node ID to check.
        Returns:
        Previous node ID to check.
      • changeTopology

        public void changeTopology​(UUID prevNodeId)
        Sets topology change flag and previous node ID to check.
        Parameters:
        prevNodeId - If not null, will set topology check flag and set node ID to check.