@AsynchronousPreferred public class

ClusterNodeAddedEvent

extends ClusterMembershipEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.cluster.ClusterNodeEvent
       ↳ com.atlassian.stash.event.cluster.ClusterMembershipEvent
         ↳ com.atlassian.stash.event.cluster.ClusterNodeAddedEvent
Known Direct Subclasses

Class Overview

Raised when a new node joins 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
ClusterNodeAddedEvent(Object source, ClusterNode node, Set<ClusterNode> currentNodes)
Public Methods
@Nonnull ClusterNode getAddedNode()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.cluster.ClusterMembershipEvent
From class com.atlassian.stash.event.cluster.ClusterNodeEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

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

Public Methods

@Nonnull public ClusterNode getAddedNode ()

Returns