presto-main/src/main/java/io/prestosql/execution/SqlTaskManager.java/SqlTaskManager/getAllTasks
class SqlTaskManager:    public List<SqlTask> getAllTasks()
    {
        return ImmutableList.copyOf(tasks.asMap().values());
    }