src/main/java/org/apache/hadoop/hdfs/server/namenode/cache/SuggestionsEngine.java
public void removeDirectoryFromAnalysis(String directory) throws IOException {
    if (directory == null || directory.isEmpty()) {
      throw new IllegalArgumentException("Directory parameter 'dir' not defined.");
    }
    if (directory.endsWith("/")) {
      directory = directory.substring(0, directory.length() - 1);
    }
    boolean removed = cachedDirectories.remove(directory);
    if (!removed) {
      throw new FileNotFoundException(directory + " was not scheduled for analysis.");
    }
  }
/**
   * Removes a directory from count and size analysis.
   *
   * @param directory directory to remove from reporting
   * @throws IOException directory could not be removed from reporting
   */
Removes a directory from count and size analysis.
@param directory directory to remove from reporting
@throws IOException directory could not be removed from reporting
Removes a directory from count and size analysis . @param directory directory to remove from reporting @throws IOException directory could not be removed from reporting
public void removeDirectoryFromAnalysis(String directory) throws IOException {
    if (directory == null || directory.isEmpty()) {
      throw new IllegalArgumentException("Directory parameter 'dir' not defined.");
    }
    if (directory.endsWith("/")) {
      directory = directory.substring(0, directory.length() - 1);
    }
    boolean removed = cachedDirectories.remove(directory);
    if (!removed) {
      throw new FileNotFoundException(directory + " was not scheduled for analysis.");
    }
  }
public void removeDirectoryFromAnalysis ( String directory ) throws IOException { if ( directory == null || directory . isEmpty ( ) ) { throw new IllegalArgumentException ( "Directory parameter 'dir' not defined." ) ; } if ( directory . endsWith ( "/" ) ) { directory = directory . substring ( 0 , directory . length ( ) - 1 ) ; } boolean removed = cachedDirectories . remove ( directory ) ; if ( ! removed ) { throw new FileNotFoundException ( directory + " was not scheduled for analysis." ) ; } }
Removes a directory from count and size analysis.
Removes a directory from count and size analysis .