public abstract class AbstractMetadataCacheSubCommand extends AbstractFuseShellCommand
mConf, mFileSystem, mParentCommandName| Constructor and Description |
|---|
AbstractMetadataCacheSubCommand(FileSystem fileSystem,
AlluxioConfiguration conf,
java.lang.String commandName) |
| Modifier and Type | Method and Description |
|---|---|
URIStatus |
run(AlluxioURI path,
java.lang.String[] argv)
Runs the command.
|
protected abstract URIStatus |
runSubCommand(AlluxioURI path,
java.lang.String[] argv,
MetadataCachingFileSystem fs)
Run the metadatacache subcommand.
|
getParentCommandNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateArgsclose, getCommandName, getDescription, getOptions, getSubCommands, getUsage, hasSubCommand, parseAndValidateArgs, run, validateArgspublic AbstractMetadataCacheSubCommand(FileSystem fileSystem, AlluxioConfiguration conf, java.lang.String commandName)
fileSystem - the file system the command takes effect onconf - the Alluxio configurationcommandName - the parent command namepublic URIStatus run(AlluxioURI path, java.lang.String[] argv) throws InvalidArgumentException
FuseCommandpath - the path uri from fuse commandargv - args from fuse commandInvalidArgumentExceptionprotected abstract URIStatus runSubCommand(AlluxioURI path, java.lang.String[] argv, MetadataCachingFileSystem fs)
Copyright © 2023. All Rights Reserved.