public class SyncDatabaseCommand extends AbstractTableCommand
mClient, mConf| Constructor and Description |
|---|
SyncDatabaseCommand(AlluxioConfiguration conf,
TableMasterClient client)
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgspublic SyncDatabaseCommand(AlluxioConfiguration conf, TableMasterClient client)
SyncDatabaseCommand.conf - alluxio configurationclient - the table master clientpublic 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 © 2020. All Rights Reserved.