Class ClusterNodeAddedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
com.atlassian.bitbucket.event.cluster.ClusterNodeAddedEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ClusterNodeRejoinedEvent
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:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionClusterNodeAddedEvent(Object source, ClusterNode node, Set<ClusterNode> currentNodes) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanMethods inherited from class com.atlassian.bitbucket.event.cluster.ClusterMembershipEventgetCurrentNodesMethods inherited from class com.atlassian.bitbucket.event.cluster.ClusterNodeEventgetDateMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
ClusterNodeAddedEventpublic ClusterNodeAddedEvent(@Nonnull Object source, @Nonnull ClusterNode node, @Nonnull Set<ClusterNode> currentNodes) 
 
- 
- 
Method Details- 
getAddedNode- Returns:
- the added node, which will be in the current nodesset
 
- 
isMaybeNetworkPartitionResolvedpublic boolean isMaybeNetworkPartitionResolved()- Returns:
- trueif the node joining the cluster may be the result of a network partition (split brain) having resolved, otherwise- false.
- Since:
- 4.10
 
 
-