org.inria.myriads.snoozenode.configurator.faulttolerance
public class ZooKeeperSettings extends Object
Constructor and Description |
---|
ZooKeeperSettings() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void setHosts(String hosts)
hosts
- The hosts listpublic String getHosts()
public void setSessionTimeout(int sessionTimeOut)
sessionTimeOut
- The session timeoutpublic int getSessionTimeout()
Copyright © 2013. All Rights Reserved.