public abstract class LeaderSelectorListenerAdapter extends Object implements LeaderSelectorListener
LeaderSelectorListener that adds the recommended handling
for connection state problems| Constructor and Description |
|---|
LeaderSelectorListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
stateChanged(CuratorFramework client,
ConnectionState newState)
Called when there is a state change in the connection
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittakeLeadershippublic void stateChanged(CuratorFramework client, ConnectionState newState)
ConnectionStateListenerstateChanged in interface ConnectionStateListenerclient - the clientnewState - the new stateCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.