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