public abstract class ClusterMembershipEvent extends ClusterNodeEvent
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.
source| Modifier and Type | Method and Description |
|---|---|
Set<ClusterNode> |
getCurrentNodes()
Retrieves the current set of
cluster nodes at the time the event was raised. |
getDategetSource, toString@Nonnull public Set<ClusterNode> getCurrentNodes()
cluster nodes at 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.Copyright © 2019 Atlassian. All rights reserved.