org.inria.myriads.snoozenode.configurator.faulttolerance
public class HeartbeatSettings extends Object
Constructor and Description |
---|
HeartbeatSettings() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void setInterval(int interval)
interval
- The heartbeat intervalpublic int getInterval()
public void setTimeout(int timeout)
timeout
- The heartbeat timeoutpublic int getTimeout()
Copyright © 2013. All Rights Reserved.