public static interface CamelClusterEventListener.Leadership extends CamelClusterEventListener
CamelClusterEventListener.Leadership, CamelClusterEventListener.Membership
Modifier and Type | Method and Description |
---|---|
void |
leadershipChanged(CamelClusterView view,
Optional<CamelClusterMember> leader)
Notify a change in the leadership for a particular cluster.
|
void leadershipChanged(CamelClusterView view, Optional<CamelClusterMember> leader)
view
- the cluster viewleader
- the optional new leaderApache Camel