public class SyncDatabaseCommand extends AbstractTableCommand
mClient, mConfASYNC_OPTION, DEFAULT_ACTIVE_JOBS, mActiveJobs, mSubmittedJobAttemptsmFileSystem, mFsContext| Constructor and Description |
|---|
SyncDatabaseCommand(AlluxioConfiguration conf,
TableMasterClient client,
FileSystemContext fsContext)
Creates a new instance of
SyncDatabaseCommand. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cli) |
void |
validateArgs(org.apache.commons.cli.CommandLine cli) |
drain, getCompletedCmdCount, getCompletedCount, getFailedCmdCount, getFailedCount, getFailedFiles, postProcessing, processFailures, submit, waitForCmd, waitJobprocessHeader, runPlainPath, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgspublic SyncDatabaseCommand(AlluxioConfiguration conf, TableMasterClient client, FileSystemContext fsContext)
SyncDatabaseCommand.conf - alluxio configurationclient - the table master clientfsContext - the filesystem of Alluxiopublic void validateArgs(org.apache.commons.cli.CommandLine cli)
throws InvalidArgumentException
validateArgs in interface CommandvalidateArgs in class AbstractTableCommandInvalidArgumentExceptionpublic java.lang.String getCommandName()
getCommandName in interface CommandgetCommandName in class AbstractTableCommandpublic java.lang.String getUsage()
public java.lang.String getDescription()
public int run(org.apache.commons.cli.CommandLine cli)
throws AlluxioStatusException
run in interface Commandrun in class AbstractTableCommandAlluxioStatusExceptionCopyright © 2022. All Rights Reserved.