@PublicApi public class BackupCommand extends AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream| Constructor and Description |
|---|
BackupCommand(Context context,
AlluxioConfiguration alluxioConf) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
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, getSubCommands, hasSubCommand, parseAndValidateArgspublic BackupCommand(Context context, AlluxioConfiguration alluxioConf)
context - fsadmin command contextalluxioConf - Alluxio configurationpublic java.lang.String getCommandName()
public org.apache.commons.cli.Options getOptions()
public int run(org.apache.commons.cli.CommandLine cl)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getUsage()
public java.lang.String getDescription()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionCopyright © 2022. All Rights Reserved.