Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
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.
Summary
|
[Expand]
Inherited Fields |
From class
java.util.EventObject
|
|
[Expand]
Inherited Methods |
From class
com.atlassian.stash.event.cluster.ClusterNodeEvent
|
From class
java.util.EventObject
|
Object
|
getSource()
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Methods
@Nonnull
public
Set<ClusterNode>
getCurrentNodes
()
Retrieves the current set of 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.
Returns
- the current cluster nodes