Interface LeaderRetrievalEventHandler

    • Method Detail

      • notifyLeaderAddress

        void notifyLeaderAddress​(LeaderInformation leaderInformation)
        Called by specific LeaderRetrievalDriver to notify leader address.

        Duplicated leader change events could happen, so the implementation should check whether the passed leader information is truly changed with last stored leader information.

        Parameters:
        leaderInformation - the new leader information to notify LeaderRetrievalService. It could be LeaderInformation.empty() if the leader address does not exist in the external storage.