public interface LeaderSelectorListener extends ConnectionStateListener
LeaderSelector
Modifier and Type | Method and Description |
---|---|
void |
takeLeadership(CuratorFramework client)
Called when your instance has been granted leadership.
|
stateChanged
void takeLeadership(CuratorFramework client) throws Exception
client
- the clientException
- any errorsCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.