org.inria.myriads.snoozenode.configurator.faulttolerance
Class FaultToleranceSettings

java.lang.Object
  extended by org.inria.myriads.snoozenode.configurator.faulttolerance.FaultToleranceSettings

public final class FaultToleranceSettings
extends Object

Fault tolenrace settings.

Author:
Eugen Feller

Constructor Summary
FaultToleranceSettings()
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultToleranceSettings

public FaultToleranceSettings()
Constructor.

Method Detail

setZooKeeper

public void setZooKeeper(ZooKeeperSettings zooKeeper)
Sets the ZooKeeper parameters.

Parameters:
zooKeeper - The ZooKeeper parameters

getZooKeeper

public ZooKeeperSettings getZooKeeper()
Returns the ZooKeeper parameters.

Returns:
The ZooKeeper parameters

setHeartbeat

public void setHeartbeat(HeartbeatSettings heartbeat)
Sets the heartbeat parameters.

Parameters:
heartbeat - The heartbeat parameters

getHeartbeat

public HeartbeatSettings getHeartbeat()
Returns the heartbeat parameters.

Returns:
The heartbeat parameters


Copyright © 2012. All Rights Reserved.