Package alluxio.cli.bundler.command
Class CollectJvmInfoCommand
- java.lang.Object
-
- alluxio.cli.bundler.command.AbstractCollectInfoCommand
-
- alluxio.cli.bundler.command.CollectJvmInfoCommand
-
- All Implemented Interfaces:
alluxio.cli.Command,java.io.Closeable,java.lang.AutoCloseable
public class CollectJvmInfoCommand extends AbstractCollectInfoCommand
Command that collects information about the JVMs.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMMAND_NAME-
Fields inherited from class alluxio.cli.bundler.command.AbstractCollectInfoCommand
mFsContext, mWorkingDirPath
-
-
Constructor Summary
Constructors Constructor Description CollectJvmInfoCommand(alluxio.client.file.FileSystemContext fsContext)Creates an instance ofCollectJvmInfoCommand.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandName()java.lang.StringgetDescription()java.lang.StringgetUsage()intrun(org.apache.commons.cli.CommandLine cl)-
Methods inherited from class alluxio.cli.bundler.command.AbstractCollectInfoCommand
generateOutputFile, getWorkingDirectory, validateArgs
-
-
-
-
Field Detail
-
COMMAND_NAME
public static final java.lang.String COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectJvmInfoCommand
public CollectJvmInfoCommand(alluxio.client.file.FileSystemContext fsContext)
Creates an instance ofCollectJvmInfoCommand.- Parameters:
fsContext- theFileSystemContextto execute in
-
-
Method Detail
-
getCommandName
public java.lang.String getCommandName()
-
run
public int run(org.apache.commons.cli.CommandLine cl) throws alluxio.exception.AlluxioException, java.io.IOException- Throws:
alluxio.exception.AlluxioExceptionjava.io.IOException
-
getUsage
public java.lang.String getUsage()
-
getDescription
public java.lang.String getDescription()
-
-