Class ClusterMembershipEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ClusterNodeAddedEvent,- ClusterNodeRemovedEvent
A base class for events related to cluster membership, raised when nodes 
join and
 leave the cluster.
 This class exists primarily to simplify writing event types. Plugins generally should not listen for this base class; they should listen for specific subclasses.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves the current set ofcluster nodesat the time the event was raised.Methods inherited from class com.atlassian.bitbucket.event.cluster.ClusterNodeEventgetDateMethods inherited from class java.util.EventObjectgetSource, toString
- 
Method Details- 
getCurrentNodesRetrieves the current set ofcluster nodesat the time the event was raised. If a new node has joined, it will be in the returned set. If an existing node has departed, it will not be.- Returns:
- the current cluster nodes
 
 
-