CacheAdmin (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.tools, class: CacheAdmin

Package org.apache.hadoop.hdfs.tools

# Class CacheAdmin

java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hdfs.tools.CacheAdmin

All Implemented Interfaces:
  `org.apache.hadoop.conf.Configurable`, `org.apache.hadoop.util.Tool`

@Private public class CacheAdmin extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
This class implements command-line operations on the HDFS Cache.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CacheAdmin()`
  `CacheAdmin(org.apache.hadoop.conf.Configuration conf)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `main(String[] argsArray)`
  `int`
  `run(String[] args)`

  ### Methods inherited from class org.apache.hadoop.conf.Configured

  `getConf, setConf`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.hadoop.conf.Configurable

  `getConf, setConf`

- ## Constructor Details

  - ### CacheAdmin

    public CacheAdmin()

  - ### CacheAdmin

    public CacheAdmin(org.apache.hadoop.conf.Configuration conf)

- ## Method Details

  - ### run

    public int run(String[] args) throws IOException
    Specified by:
      `run` in interface `org.apache.hadoop.util.Tool`
    Throws:
      `IOException`

  - ### main

    public static void main(String[] argsArray) throws Exception
    Throws:
      `Exception`