@ThreadSafe @PublicApi public final class FreeCommand extends AbstractFileSystemCommand
mFileSystem, mFsContext| Constructor and Description |
|---|
FreeCommand(FileSystemContext fsContext)
Constructs a new instance to free the given file or folder from Alluxio.
|
| 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) |
protected void |
runPlainPath(AlluxioURI path,
org.apache.commons.cli.CommandLine cl)
Runs the command for a particular URI that does not contain wildcard in its path.
|
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
processHeader, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getSubCommands, hasSubCommand, parseAndValidateArgspublic FreeCommand(FileSystemContext fsContext)
fsContext - the filesystem of Alluxiopublic org.apache.commons.cli.Options getOptions()
public java.lang.String getCommandName()
protected void runPlainPath(AlluxioURI path, org.apache.commons.cli.CommandLine cl) throws AlluxioException, java.io.IOException
AbstractFileSystemCommandrunPlainPath in class AbstractFileSystemCommandpath - an AlluxioURI that does not contain wildcardcl - object containing the original commandLineAlluxioExceptionjava.io.IOExceptionpublic java.lang.String getUsage()
public java.lang.String getDescription()
public int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionpublic void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionCopyright © 2022. All Rights Reserved.