code: @Override
      public synchronized void deleteTask(Task task) throws TaskNotFoundException {
          if (!this.inprocess.contains(task)) {
              log.error("{} not found.", task);
  
              throw new TaskNotFoundException("task not found:" + task.toString());
          }
  
          this.inprocess.remove(task);
          this.completedCount++;
          log.info("{} complete", task);
      }
docs: /* (non-Javadoc)
  @see org.duracloud.queue.TaskQueue#deleteTask(org.duracloud.queue.task.Task)