Interface LeaderSelectorListener

    • Method Detail

      • takeLeadership

        void takeLeadership​(CuratorFramework client)
                     throws Exception
        Called when your instance has been granted leadership. This method should not return until you wish to release leadership
        Parameters:
        client - the client
        Throws:
        Exception - any errors