|
||||||||||
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.ZooKeeperSettings
public class ZooKeeperSettings
ZooKeeper parameters.
Constructor Summary | |
---|---|
ZooKeeperSettings()
|
Method Summary | |
---|---|
String |
getHosts()
Returns the hosts. |
int |
getSessionTimeout()
Returns the zookeeper session timeout. |
void |
setHosts(String hosts)
Sets the hosts list. |
void |
setSessionTimeout(int sessionTimeOut)
Sets the session timeout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZooKeeperSettings()
Method Detail |
---|
public void setHosts(String hosts)
hosts
- The hosts listpublic String getHosts()
public void setSessionTimeout(int sessionTimeOut)
sessionTimeOut
- The session timeoutpublic int getSessionTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |