presto-main/src/main/java/io/prestosql/execution/SqlTaskManager.java/SqlTaskManager/getTaskInfo
class SqlTaskManager:    @Override
    public TaskInfo getTaskInfo(TaskId taskId)
    {
        requireNonNull(taskId, "taskId is null");

        SqlTask sqlTask = tasks.getUnchecked(taskId);
        sqlTask.recordHeartbeat();
        return sqlTask.getTaskInfo();
    }