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 Summary
Fields inherited from class java.util.EventObject
source - 
Constructor Summary
ConstructorsConstructorDescriptionClusterNodeAddedEvent(Object source, ClusterNode node, Set<ClusterNode> currentNodes)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
getCurrentNodesMethods inherited from class com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
getDateMethods inherited from class java.util.EventObject
getSource, toString 
- 
Constructor Details
- 
ClusterNodeAddedEvent
public 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 
 - 
isMaybeNetworkPartitionResolved
public boolean isMaybeNetworkPartitionResolved()- Returns:
 trueif the node joining the cluster may be the result of a network partition (split brain) having resolved, otherwisefalse.- Since:
 - 4.10
 
 
 -