public class CuratorFactoryBean extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.curator.framework.CuratorFramework |
curator |
| Constructor and Description |
|---|
CuratorFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getConnectString() |
org.apache.curator.framework.CuratorFramework |
getObject() |
Class<?> |
getObjectType() |
String |
getPassword() |
int |
getTimeout() |
org.apache.zookeeper.Watcher |
getWatcher() |
boolean |
isSingleton() |
void |
setConnectString(String connectString) |
void |
setPassword(String password) |
void |
setTimeout(int timeout) |
void |
setWatcher(org.apache.zookeeper.Watcher watcher) |
public String getConnectString()
public void setConnectString(String connectString)
public org.apache.zookeeper.Watcher getWatcher()
public void setWatcher(org.apache.zookeeper.Watcher watcher)
public String getPassword()
public void setPassword(String password)
public int getTimeout()
public void setTimeout(int timeout)
public org.apache.curator.framework.CuratorFramework getObject()
throws Exception
Exceptionpublic Class<?> getObjectType()
public boolean isSingleton()
Copyright © 2011–2014 Red Hat. All rights reserved.