Modifier and Type | Class and Description |
---|---|
static class |
LeaderElection.Adapter
An empty implementation of
LeaderElection.Listener . |
Modifier and Type | Method and Description |
---|---|
LeaderElection.Listener |
LeaderElection.getListener()
Get the listener for leader election events.
|
Modifier and Type | Method and Description |
---|---|
LeaderElection |
LeaderElection.setListener(LeaderElection.Listener listener)
Set the listener for leader election events.
|
Copyright © 2015. All rights reserved.