Package org.apache.zookeeper.cli
Class ListQuotaCommand
- java.lang.Object
 - 
- org.apache.zookeeper.cli.CliCommand
 - 
- org.apache.zookeeper.cli.ListQuotaCommand
 
 
 
- 
public class ListQuotaCommand extends CliCommand
listQuota command for cli 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.zookeeper.cli.CliCommand
err, out, zk 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ListQuotaCommand() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexec()static List<StatsTrack>listQuota(ZooKeeper zk, String path)CliCommandparse(String[] cmdArgs)parse the command arguments- 
Methods inherited from class org.apache.zookeeper.cli.CliCommand
addToMap, getCmdStr, getOptionStr, getUsageStr, setErr, setOut, setZk 
 - 
 
 - 
 
- 
- 
Method Detail
- 
parse
public CliCommand parse(String[] cmdArgs) throws CliParseException
Description copied from class:CliCommandparse the command arguments- Specified by:
 parsein classCliCommand- Returns:
 - this CliCommand
 - Throws:
 CliParseException
 
- 
exec
public boolean exec() throws CliException- Specified by:
 execin classCliCommand- Returns:
 - true if command has watch option, false otherwise
 - Throws:
 CliException
 
- 
listQuota
public static List<StatsTrack> listQuota(ZooKeeper zk, String path) throws KeeperException, InterruptedException
- Throws:
 KeeperExceptionInterruptedException
 
 - 
 
 -