@AsynchronousPreferred public class ClusterNodeRemovedEvent extends ClusterMembershipEvent
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.
source| Constructor and Description |
|---|
ClusterNodeRemovedEvent(Object source,
ClusterNode node,
Set<ClusterNode> currentNodes) |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
getRemovedNode() |
getCurrentNodesgetDategetSource, toStringpublic ClusterNodeRemovedEvent(@Nonnull Object source, @Nonnull ClusterNode node, @Nonnull Set<ClusterNode> currentNodes)
@Nonnull public ClusterNode getRemovedNode()
current nodes setCopyright © 2019 Atlassian. All rights reserved.