Modifier and Type | Method and Description |
---|---|
ZooKeeperSettings |
FaultToleranceSettings.getZooKeeper()
Returns the ZooKeeper parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
FaultToleranceSettings.setZooKeeper(ZooKeeperSettings zooKeeper)
Sets the ZooKeeper parameters.
|
Modifier and Type | Method and Description |
---|---|
static LeaderElection |
LeaderElectionFactory.newLeaderElection(ZooKeeperSettings zooKeeperParameters,
org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription groupManagerDescription,
LeaderElectionListener listener)
Creates the leader election logic.
|
Constructor and Description |
---|
ZooKeeperLeaderElection(ZooKeeperSettings zooKeeperParameters,
org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription groupManagerDescription,
LeaderElectionListener listener)
Leader election based on ZooKeeper.
|
Copyright © 2013. All Rights Reserved.