public int getQueueSizeForTask(String taskType) {
        Validate.notBlank(taskType, "Task type cannot be blank");

        Integer queueSize =
                getForEntity(
                        "tasks/queue/size",
                        new Object[] {"taskType", taskType},
                        new GenericType<Integer>() {});
        return queueSize != null ? queueSize : 0;
    }
Removes a task from a taskType queue

@param taskType the taskType to identify the queue
@param taskId the id of the task to be removed
client/src/main/java/com/netflix/conductor/client/http/TaskClient.java