public class Kill extends ZooKeeperCommandSupport
| Constructor and Description |
|---|
Kill() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.apache.curator.framework.CuratorFramework curator) |
static void |
kill(org.apache.zookeeper.ZooKeeper client,
java.lang.String connectString,
int maxMs)
Kill the given ZK session
|
doExecute, getConnectionRetryTime, getCurator, getPermFromString, getPermString, loadUrl, parseACLs, setConnectionRetryTime, setCuratorprotected void doExecute(org.apache.curator.framework.CuratorFramework curator) throws java.lang.Exception
doExecute in class ZooKeeperCommandSupportjava.lang.Exceptionpublic static void kill(org.apache.zookeeper.ZooKeeper client,
java.lang.String connectString,
int maxMs)
throws java.lang.Exception
client - the client to killconnectString - server connection stringmaxMs - max time ms to wait for killjava.lang.Exception - errorsCopyright © 2014 Red Hat. All Rights Reserved.