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

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

public class HeartbeatSettings
extends Object

Heartbeat parameters.

Author:
Eugen Feller

Constructor Summary
HeartbeatSettings()
           
 
Method Summary
 int getInterval()
          Returns the heartbeat interval.
 int getTimeout()
          Returns the heartbeat timeout.
 void setInterval(int interval)
          Sets the heartbeat interval.
 void setTimeout(int timeout)
          Sets the heartbeat timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartbeatSettings

public HeartbeatSettings()
Method Detail

setInterval

public void setInterval(int interval)
Sets the heartbeat interval.

Parameters:
interval - The heartbeat interval

getInterval

public int getInterval()
Returns the heartbeat interval.

Returns:
the heartbeatInterval

setTimeout

public void setTimeout(int timeout)
Sets the heartbeat timeout.

Parameters:
timeout - The heartbeat timeout

getTimeout

public int getTimeout()
Returns the heartbeat timeout.

Returns:
The heartbeat timeout


Copyright © 2012. All Rights Reserved.