Class ClusterNodeRejoinedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
com.atlassian.bitbucket.event.cluster.ClusterNodeAddedEvent
com.atlassian.bitbucket.event.cluster.ClusterNodeRejoinedEvent
- All Implemented Interfaces:
- Serializable
Specialization of 
ClusterNodeAddedEvent that is raised when a node reconnects to the current node. This
 happens when a network partition is resolved, for instance due to intermittent networking issues.
 
 Note: when a network partition in a larger cluster occurs, the node may receive multiple
 ClusterNodeRejoinedEvents when the partitions merge - one for each node-to-node connection that is
 reestablished.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionClusterNodeRejoinedEvent(Object source, ClusterNode node, Set<ClusterNode> currentNodes, long timestampDisconnected, long timestampReconnected) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanMethods inherited from class com.atlassian.bitbucket.event.cluster.ClusterNodeAddedEventgetAddedNodeMethods 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- 
ClusterNodeRejoinedEventpublic ClusterNodeRejoinedEvent(@Nonnull Object source, @Nonnull ClusterNode node, @Nonnull Set<ClusterNode> currentNodes, long timestampDisconnected, long timestampReconnected) 
 
- 
- 
Method Details- 
getDateDisconnected- Returns:
- the date the node was disconnected from the current node
 
- 
getDateReconnected- Returns:
- the date the node reconnected to the current node
 
- 
isMaybeNetworkPartitionResolvedpublic boolean isMaybeNetworkPartitionResolved()- Overrides:
- isMaybeNetworkPartitionResolvedin class- ClusterNodeAddedEvent
- Returns:
- trueif the node joining the cluster may be the result of a network partition (split brain) having resolved, otherwise- false.
 
 
-