Interface IClusterTopologyObserver

    • Method Detail

      • onNodeJoined

        void onNodeJoined​(NodeJoinEvent event)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Method that should be called when a node was added to the cluster. This method should invoke the appropriate listeners added via addListener(IClusterTopologyListener).
        Parameters:
        event - Details about the node that joined the cluster.
      • onNodeLeft

        void onNodeLeft​(NodeLeftEvent event)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Method that should be called when a node was removed from the cluster. This method should invoke the appropriate listeners added via addListener(IClusterTopologyListener).
        Parameters:
        event - 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.
        Method that should be called when the connection to a node may have been lost. This method should invoke the appropriate listeners added via addListener(IClusterTopologyListener).
        Parameters:
        event - Details about the node that is suspected to have lost the connection to the cluster.