public class SetQuotaCommand extends CliCommand
err, out, zk
Constructor and Description |
---|
SetQuotaCommand() |
Modifier and Type | Method and Description |
---|---|
static boolean |
createQuota(ZooKeeper zk,
String path,
long bytes,
int numNodes) |
boolean |
exec() |
CliCommand |
parse(String[] cmdArgs)
parse the command arguments
|
addToMap, getCmdStr, getOptionStr, getUsageStr, setErr, setOut, setZk
public CliCommand parse(String[] cmdArgs) throws CliParseException
CliCommand
parse
in class CliCommand
CliParseException
public boolean exec() throws CliException
exec
in class CliCommand
CliException
public static boolean createQuota(ZooKeeper zk, String path, long bytes, int numNodes) throws KeeperException, IOException, InterruptedException, MalformedPathException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.