public final class ListCommand extends AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream| Constructor and Description |
|---|
ListCommand(Context context,
AlluxioConfiguration alluxioConf) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
description() |
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl) |
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgspublic ListCommand(Context context, AlluxioConfiguration alluxioConf)
context - fsadmin command contextalluxioConf - Alluxio configurationpublic java.lang.String getCommandName()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionpublic java.lang.String getUsage()
public static java.lang.String description()
public java.lang.String getDescription()
Copyright © 2022. All Rights Reserved.