Package alluxio.cli.fs.command
Class LeaderCommand
- java.lang.Object
-
- alluxio.cli.fs.command.AbstractFileSystemCommand
-
- alluxio.cli.fs.command.LeaderCommand
-
- All Implemented Interfaces:
alluxio.cli.Command,java.io.Closeable,java.lang.AutoCloseable
@ThreadSafe @PublicApi @Deprecated public final class LeaderCommand extends AbstractFileSystemCommand
Deprecated.This command will be deprecated as of v3.0, useMasterInfoCommandPrints the current leader master host name.
-
-
Field Summary
-
Fields inherited from class alluxio.cli.fs.command.AbstractFileSystemCommand
mFileSystem, mFsContext
-
-
Constructor Summary
Constructors Constructor Description LeaderCommand(alluxio.client.file.FileSystemContext fsContext)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCommandName()Deprecated.java.lang.StringgetDescription()Deprecated.java.lang.StringgetUsage()Deprecated.intrun(org.apache.commons.cli.CommandLine cl)Deprecated.voidvalidateArgs(org.apache.commons.cli.CommandLine cl)Deprecated.-
Methods inherited from class alluxio.cli.fs.command.AbstractFileSystemCommand
processHeader, runPlainPath, runWildCardCmd
-
-
-
-
Method Detail
-
getCommandName
public java.lang.String getCommandName()
Deprecated.
-
validateArgs
public void validateArgs(org.apache.commons.cli.CommandLine cl) throws alluxio.exception.status.InvalidArgumentExceptionDeprecated.- Throws:
alluxio.exception.status.InvalidArgumentException
-
run
public int run(org.apache.commons.cli.CommandLine cl)
Deprecated.
-
getUsage
public java.lang.String getUsage()
Deprecated.
-
getDescription
public java.lang.String getDescription()
Deprecated.
-
-