Interface ClusterStateChangeListenerV2


  • public interface ClusterStateChangeListenerV2
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clusterStateChange​(int[] clusterNodes, int[] running, int[] stopping)
      Notification that the cluster has changed state with respect to the resource adaptor entity that attached the listener.
    • Method Detail

      • clusterStateChange

        void clusterStateChange​(int[] clusterNodes,
                                int[] running,
                                int[] stopping)

        Notification that the cluster has changed state with respect to the resource adaptor entity that attached the listener. This is a newer version of the previous interface which differentiates between nodes that are still alive but stopping vs. nodes that have left the cluster.

        A running node is a node that satisfies the following conditions:

        • the node is a member of the cluster’s primary component

        • the resource adaptor entity is in the Active state on the node

        • the SLEE is in the Running state on the node

        A stopping node is a node that satisfies the following conditions:

        • the node is a member of the cluster’s primary component

        • the resource adaptor entity is in the Stopping state on the node, and/or the SLEE is in the Stopping state on the node

        A node appears in the running set once it satisfies the conditions specified above. The node moves from the running set to the stopping set if the resource adaptor entity or the SLEE transitions to the Stopping state on that node. Once the resource adaptor entity becomes Inactive or the SLEE becomes Stopped on that node, the node no longer appears in either of the running or stopping sets.

        Parameters:
        clusterNodes - the current set of cluster nodes. Only event router nodes that have completed bootup initialisation tasks are included in this set.
        running - the current set of cluster nodes where the resource adaptor entity is running.
        stopping - the current set of cluster nodes where the resource adaptor entity is stopping.
        Since:
        Rhino 2.6.1