Class NodeLeftEvent

All Implemented Interfaces:
Serializable

public class NodeLeftEvent extends BaseTopologyEvent
An event that is fired when a node left the cluster.
Since:
3.1.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • NodeLeftEvent

      public NodeLeftEvent(NodeModel node, ICluster cluster)
      Creates a new event with the given data for when a node left the cluster.
      Parameters:
      node - Node that left the cluster.
      cluster - Cluster from which the node left.
  • Method Details

    • isHandleTakeover

      public boolean isHandleTakeover()
      Returns:
      Whether any event listener is able to take over the node that left the cluster.
    • setHandleTakeover

      public void setHandleTakeover(boolean handleTakeover)
      Parameters:
      handleTakeover - Whether the caller of this method (i.e. the event listener) was able to take over the node that left the cluster.
    • handleTakeover

      public NodeLeftEvent handleTakeover(boolean handleTakeover)
      Parameters:
      handleTakeover - Whether the caller of this method (i.e. the event listener) was able to take over the node that left the cluster.
      Returns:
      This event for chaining method calls.