Class FreeWorkerCommand

  • All Implemented Interfaces:
    alluxio.cli.Command, java.io.Closeable, java.lang.AutoCloseable

    @PublicApi
    public final class FreeWorkerCommand
    extends AbstractFileSystemCommand
    Synchronously free all blocks and directories of specific worker in Alluxio.
    • Constructor Detail

      • FreeWorkerCommand

        public FreeWorkerCommand​(alluxio.client.file.FileSystemContext fsContext)
        Constructs a new instance to free the given worker.
        Parameters:
        fsContext - fs command context
    • Method Detail

      • run

        public int run​(org.apache.commons.cli.CommandLine cl)
                throws alluxio.exception.AlluxioException,
                       java.io.IOException
        Throws:
        alluxio.exception.AlluxioException
        java.io.IOException
      • getCommandName

        public java.lang.String getCommandName()
      • getOptions

        public org.apache.commons.cli.Options getOptions()
      • getUsage

        public java.lang.String getUsage()
      • getDescription

        public java.lang.String getDescription()