Class MeshNodeAvailabilityChangedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.mesh.AbstractMeshNodeEvent
com.atlassian.bitbucket.event.mesh.MeshNodeAvailabilityChangedEvent
- All Implemented Interfaces:
- MeshNodeEvent,- Serializable
Raised when a 
MeshNode comes online or goes offline.
 Note: It is not always detected when a node goes offline, and, since the node was never observed going offline, when it comes back online no event is raised since its availability was not observed to change. This is an informational event only and is not guaranteed.
- Since:
- 8.0
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionMeshNodeAvailabilityChangedEvent(Object source, MeshNode node, boolean available) 
- 
Method SummaryMethods inherited from class com.atlassian.bitbucket.event.mesh.AbstractMeshNodeEventgetNode, getNodeIdMethods inherited from class com.atlassian.bitbucket.event.ApplicationEventgetDate, getUserMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
MeshNodeAvailabilityChangedEvent
 
- 
- 
Method Details- 
isAvailablepublic boolean isAvailable()- Returns:
- trueif the node has come online after being offline; otherwise,- falseif the node has gone offline after being online
 
 
-