@PublicApi public final class FreeWorkerCommand extends AbstractFileSystemCommand
mFileSystem, mFsContext
Constructor and Description |
---|
FreeWorkerCommand(FileSystemContext fsContext)
Constructs a new instance to free the given worker.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl)
Runs the command.
|
processHeader, runPlainPath, runWildCardCmd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getSubCommands, hasSubCommand, parseAndValidateArgs, validateArgs
public FreeWorkerCommand(FileSystemContext fsContext)
fsContext
- fs command contextpublic int run(org.apache.commons.cli.CommandLine cl) throws AlluxioException, IOException
Command
cl
- the parsed command line for the argumentsAlluxioException
IOException
public String getCommandName()
Command
public org.apache.commons.cli.Options getOptions()
Options
of the commandpublic String getUsage()
public String getDescription()
Copyright © 2023. All Rights Reserved.