org.apache.camel.component.zookeeper.policy
Interface ElectionWatcher

All Known Implementing Classes:
ZooKeeperRoutePolicy

public interface ElectionWatcher


Method Summary
 void electionResultChanged()
          This method is called when there is a potential change to the master.
 

Method Detail

electionResultChanged

void electionResultChanged()
This method is called when there is a potential change to the master. Implementations should call "isMaster" on their ZookeeperElection instance to re-validate their status.



Apache Camel