Class LeaderInitiator.LeaderListener

java.lang.Object
org.apache.curator.framework.recipes.leader.LeaderSelectorListenerAdapter
org.springframework.integration.zookeeper.leader.LeaderInitiator.LeaderListener
All Implemented Interfaces:
org.apache.curator.framework.recipes.leader.LeaderSelectorListener, org.apache.curator.framework.state.ConnectionStateListener
Enclosing class:
LeaderInitiator

protected class LeaderInitiator.LeaderListener extends org.apache.curator.framework.recipes.leader.LeaderSelectorListenerAdapter
Implementation of Curator leadership election listener.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    takeLeadership(org.apache.curator.framework.CuratorFramework framework)
     

    Methods inherited from class org.apache.curator.framework.recipes.leader.LeaderSelectorListenerAdapter

    stateChanged

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.curator.framework.state.ConnectionStateListener

    doNotProxy
  • Constructor Details

    • LeaderListener

      protected LeaderListener()
  • Method Details

    • takeLeadership

      public void takeLeadership(org.apache.curator.framework.CuratorFramework framework)