Class ClusterNodeRemovedEvent
- All Implemented Interfaces:
Serializable
existing node
leaves 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
ConstructorsConstructorDescriptionClusterNodeRemovedEvent
(Object source, ClusterNode node, Set<ClusterNode> currentNodes) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
getCurrentNodes
Methods inherited from class com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
getDate
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ClusterNodeRemovedEvent
public ClusterNodeRemovedEvent(@Nonnull Object source, @Nonnull ClusterNode node, @Nonnull Set<ClusterNode> currentNodes)
-
-
Method Details
-
getRemovedNode
- Returns:
- the removed node, which will not be in the
current nodes
set
-