|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.configurator.faulttolerance.HeartbeatSettings
public class HeartbeatSettings
Heartbeat parameters.
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 |
---|
public HeartbeatSettings()
Method Detail |
---|
public void setInterval(int interval)
interval
- The heartbeat intervalpublic int getInterval()
public void setTimeout(int timeout)
timeout
- The heartbeat timeoutpublic int getTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |