Class ClusterNodeAddedEvent

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClusterNodeRejoinedEvent

@AsynchronousPreferred public class ClusterNodeAddedEvent extends ClusterMembershipEvent
Raised when a new node joins the cluster.

Due to the non-deterministic nature of event processing, it is possible the other nodes may have joined or left the cluster. As a result, using the ClusterInformation to determine the cluster nodes may be inconsistent. ClusterMembershipEvent.getCurrentNodes() is provided to simplify deterministic processing in listeners.

See Also:
  • Constructor Details

  • Method Details

    • getAddedNode

      @Nonnull public ClusterNode getAddedNode()
      Returns:
      the added node, which will be in the current nodes set
    • isMaybeNetworkPartitionResolved

      public boolean isMaybeNetworkPartitionResolved()
      Returns:
      true if the node joining the cluster may be the result of a network partition (split brain) having resolved, otherwise false.
      Since:
      4.10