Interface IClusterTopologyListener
-
- All Superinterfaces:
Serializable
public interface IClusterTopologyListener extends Serializable
A listener that can be used to react to events related to changes in the topology of a cluster, e.g. when a node as added or removed.- Since:
- 3.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
onNodeCrashSuspect(NodeCrashSuspectedEvent event)
Deprecated.This event is not supported anymore.void
onNodeJoined(NodeJoinEvent event)
Invoked when a node joined the cluster.void
onNodeLeft(NodeLeftEvent event)
Invoked when a node left the cluster.
-
-
-
Method Detail
-
onNodeJoined
void onNodeJoined(NodeJoinEvent event)
Invoked when a node joined the cluster.- Parameters:
event
- Event with details about the node that joined the cluster.
-
onNodeLeft
void onNodeLeft(NodeLeftEvent event)
Invoked when a node left the cluster.- Parameters:
event
- Event with details about the node that left the cluster.
-
onNodeCrashSuspect
@Deprecated default void onNodeCrashSuspect(NodeCrashSuspectedEvent event)
Deprecated.This event is not supported anymore. There is no replacement.Invoked when it is suspected that the connection to a node may have been lost.- Parameters:
event
- Event with details about the node to which the connection may have been lost.
-
-