public class ZNodeDump extends ZkScript
| Constructor and Description |
|---|
ZNodeDump() |
ZNodeDump(ZkQuickConnectionManager zkQuickConnectionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(String pathStr,
int depth,
boolean detailed) |
void |
dump(ZkGenericPath path,
int depth,
boolean detailed) |
protected String |
getName() |
protected org.apache.commons.cli.Options |
getSpecificOptions() |
static void |
main(String[] args) |
protected void |
runScript(org.apache.commons.cli.CommandLine cmd)
Executes the script (assuming already connected to ZooKeeper)
|
protected boolean |
verifySpecificOptions(org.apache.commons.cli.CommandLine cmd)
Verifies the integrity of the script specific command line parameters
|
public ZNodeDump(ZkQuickConnectionManager zkQuickConnectionManager)
public ZNodeDump()
public void dump(String pathStr, int depth, boolean detailed) throws InterruptedException, org.apache.zookeeper.KeeperException
InterruptedExceptionorg.apache.zookeeper.KeeperExceptionpublic void dump(ZkGenericPath path, int depth, boolean detailed) throws InterruptedException, org.apache.zookeeper.KeeperException
InterruptedExceptionorg.apache.zookeeper.KeeperExceptionprotected String getName()
protected org.apache.commons.cli.Options getSpecificOptions()
getSpecificOptions in class ZkScriptprotected boolean verifySpecificOptions(org.apache.commons.cli.CommandLine cmd)
ZkScriptverifySpecificOptions in class ZkScriptprotected void runScript(org.apache.commons.cli.CommandLine cmd)
throws Exception
ZkScriptCopyright © 2012–2015 Facebook, Inc.. All rights reserved.