Modifier and Type | Method and Description |
---|---|
void |
KubernetesLeaderElectionDriver.writeLeaderInformation(LeaderInformation leaderInformation) |
Modifier and Type | Method and Description |
---|---|
static LeaderInformation |
KubernetesUtils.getLeaderInformationFromConfigMap(KubernetesConfigMap configMap)
Get the
LeaderInformation from ConfigMap. |
Modifier and Type | Method and Description |
---|---|
static LeaderInformation |
LeaderInformation.empty() |
static LeaderInformation |
LeaderInformation.known(UUID leaderSessionID,
String leaderAddress) |
Modifier and Type | Method and Description |
---|---|
void |
LeaderElectionEventHandler.onLeaderInformationChange(LeaderInformation leaderInformation)
Called by specific
LeaderElectionDriver when the leader information is changed. |
void |
DefaultLeaderElectionService.onLeaderInformationChange(LeaderInformation leaderInformation) |
void |
ZooKeeperLeaderElectionDriver.writeLeaderInformation(LeaderInformation leaderInformation)
Writes the current leader's address as well the given leader session ID to ZooKeeper.
|
void |
LeaderElectionDriver.writeLeaderInformation(LeaderInformation leaderInformation)
Write the current leader information to external persistent storage(e.g.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultLeaderRetrievalService.notifyLeaderAddress(LeaderInformation leaderInformation)
Called by specific
LeaderRetrievalDriver to notify leader address. |
void |
LeaderRetrievalEventHandler.notifyLeaderAddress(LeaderInformation leaderInformation)
Called by specific
LeaderRetrievalDriver to notify leader address. |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.