private boolean dispatch(HFileDeleteTask task) {
    if (task.fileLength >= this.throttlePoint) {
      if (!this.largeFileQueue.offer(task)) {
        // should never arrive here as long as we use PriorityQueue
        LOG.trace("Large file deletion queue is full");
        return false;
      }
    } else {
      if (!this.smallFileQueue.offer(task)) {
        // should never arrive here as long as we use PriorityQueue
        LOG.trace("Small file deletion queue is full");
        return false;
      }
    }
    return true;
  }
Construct an {@link HFileDeleteTask} for each file to delete and add into the correct queue
@param file the file to delete
@return HFileDeleteTask to track progress
hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.java