public abstract class LeaderSelectorListenerAdapter extends Object implements LeaderSelectorListener
LeaderSelectorListener
that adds the recommended handling
for connection state problemsConstructor 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, wait
takeLeadership
doNotProxy
public void stateChanged(CuratorFramework client, ConnectionState newState)
ConnectionStateListener
stateChanged
in interface ConnectionStateListener
client
- the clientnewState
- the new stateCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.