public interface LeaderRetrievalService
Prior to using this service it has to be started by calling the start method. The start method
also takes the
LeaderRetrievalListener as an argument. The service can only be started
The service should be stopped by calling the stop method.
void start(LeaderRetrievalListener listener) throws Exception
listener - The leader retrieval listener which will be notified about new leaders.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.