@AsynchronousPreferred public class

ClusterNodeRemovedEvent

extends ClusterMembershipEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
       ↳ com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
         ↳ com.atlassian.bitbucket.event.cluster.ClusterNodeRemovedEvent

Class Overview

Raised when an 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. getCurrentNodes() is provided to simplify deterministic processing in listeners.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
ClusterNodeRemovedEvent(Object source, ClusterNode node, Set<ClusterNode> currentNodes)
Public Methods
@Nonnull ClusterNode getRemovedNode()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.cluster.ClusterMembershipEvent
From class com.atlassian.bitbucket.event.cluster.ClusterNodeEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public ClusterNodeRemovedEvent (Object source, ClusterNode node, Set<ClusterNode> currentNodes)

Public Methods

@Nonnull public ClusterNode getRemovedNode ()

Returns