public abstract class AbstractMetadataCacheSubCommand extends AbstractFuseShellCommand
mFileSystem, mFuseFsOpts, mParentCommandName
Constructor and Description |
---|
AbstractMetadataCacheSubCommand(FileSystem fileSystem,
AlluxioFuseFileSystemOpts fuseFsOpts,
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, AlluxioFuseFileSystemOpts fuseFsOpts, String commandName)
fileSystem
- the file system the command takes effect onfuseFsOpts
- 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.