public abstract class ZooKeeperCommandSupport
extends org.apache.karaf.shell.console.OsgiCommandSupport
| Constructor and Description |
|---|
ZooKeeperCommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doExecute() |
protected abstract void |
doExecute(org.apache.curator.framework.CuratorFramework zk) |
long |
getConnectionRetryTime() |
org.apache.curator.framework.CuratorFramework |
getCurator() |
protected static int |
getPermFromString(String permString) |
protected static String |
getPermString(int perms) |
protected String |
loadUrl(URL url) |
protected static List<org.apache.zookeeper.data.ACL> |
parseACLs(String aclString) |
void |
setConnectionRetryTime(long connectionRetryTime) |
void |
setCurator(org.apache.curator.framework.CuratorFramework curator) |
protected Object doExecute() throws Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionExceptionprotected abstract void doExecute(org.apache.curator.framework.CuratorFramework zk)
throws Exception
Exceptionprotected static String getPermString(int perms)
protected static int getPermFromString(String permString)
public long getConnectionRetryTime()
public void setConnectionRetryTime(long connectionRetryTime)
public org.apache.curator.framework.CuratorFramework getCurator()
public void setCurator(org.apache.curator.framework.CuratorFramework curator)
Copyright © 2011–2014 Red Hat. All rights reserved.