Class LeaderSelectorListenerAdapter

  • All Implemented Interfaces:
    LeaderSelectorListener, org.apache.curator.framework.state.ConnectionStateListener

    public abstract class LeaderSelectorListenerAdapter
    extends java.lang.Object
    implements LeaderSelectorListener
    An implementation of LeaderSelectorListener that adds the recommended handling for connection state problems
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void stateChanged​(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState)  
      • 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

        doNotDecorate
    • Constructor Detail

      • LeaderSelectorListenerAdapter

        public LeaderSelectorListenerAdapter()
    • Method Detail

      • stateChanged

        public void stateChanged​(org.apache.curator.framework.CuratorFramework client,
                                 org.apache.curator.framework.state.ConnectionState newState)
        Specified by:
        stateChanged in interface org.apache.curator.framework.state.ConnectionStateListener