@ThreadSafe @PublicApi public final class LeaderCommand extends AbstractFileSystemCommand
mFileSystem, mFsContext| Constructor and Description |
|---|
LeaderCommand(FileSystemContext fsContext)
creates the job leader command.
|
| 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 cl) |
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
processHeader, runPlainPath, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgspublic LeaderCommand(FileSystemContext fsContext)
fsContext - the Alluxio filesystem clientpublic java.lang.String getCommandName()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic int run(org.apache.commons.cli.CommandLine cl)
public java.lang.String getUsage()
public java.lang.String getDescription()
Copyright © 2022. All Rights Reserved.