presto-main/src/main/java/io/prestosql/execution/SqlTaskManager.java/SqlTaskManager/getAllTaskInfo
class SqlTaskManager:    @Override
    public List<TaskInfo> getAllTaskInfo()
    {
        return tasks.asMap().values().stream()
                .map(SqlTask::getTaskInfo)
                .collect(toImmutableList());
    }