Class LeaderSelectorListenerAdapter
- java.lang.Object
-
- org.apache.curator.framework.recipes.leader.LeaderSelectorListenerAdapter
-
- All Implemented Interfaces:
LeaderSelectorListener,org.apache.curator.framework.state.ConnectionStateListener
public abstract class LeaderSelectorListenerAdapter extends java.lang.Object implements LeaderSelectorListener
An implementation ofLeaderSelectorListenerthat adds the recommended handling for connection state problems
-
-
Constructor Summary
Constructors Constructor Description LeaderSelectorListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstateChanged(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
-
Methods inherited from interface org.apache.curator.framework.recipes.leader.LeaderSelectorListener
takeLeadership
-
-