org.inria.myriads.snoozenode.configurator.faulttolerance
public final class FaultToleranceSettings extends Object
Constructor and Description |
---|
FaultToleranceSettings()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HeartbeatSettings |
getHeartbeat()
Returns the heartbeat parameters.
|
ZooKeeperSettings |
getZooKeeper()
Returns the ZooKeeper parameters.
|
void |
setHeartbeat(HeartbeatSettings heartbeat)
Sets the heartbeat parameters.
|
void |
setZooKeeper(ZooKeeperSettings zooKeeper)
Sets the ZooKeeper parameters.
|
public void setZooKeeper(ZooKeeperSettings zooKeeper)
zooKeeper
- The ZooKeeper parameterspublic ZooKeeperSettings getZooKeeper()
public void setHeartbeat(HeartbeatSettings heartbeat)
heartbeat
- The heartbeat parameterspublic HeartbeatSettings getHeartbeat()
Copyright © 2013. All Rights Reserved.